The page url is something like
/people?search=name while I used
current_path method of capybara it returned
current_path.should == people_path(:search => 'name')
But it fails saying
expected: "/people?search=name" got: "/people"
How we can make it pass? Is there is any way to do this?