Open rodreegez opened 14 years ago
Create an assertion equivalent to
assert_match %r|#{some_path(@sth)}|, browser.location
The case for this is being able to check you are on the page you expect to be on. The case against is that the page could well be displaying a horrible error or entirely the wrong thing.
Thoughts?
Create an assertion equivalent to
assert_match %r|#{some_path(@sth)}|, browser.location