Spec for current_url
This commit is contained in:
parent
0732ac5ff2
commit
fe2a3fae58
|
@ -9,6 +9,11 @@ shared_examples_for 'driver' do
|
|||
@driver.visit('/foo')
|
||||
@driver.body.should include('Another World')
|
||||
end
|
||||
|
||||
it "should show the correct URL" do
|
||||
@driver.visit('/foo')
|
||||
@driver.current_url.should include('/foo')
|
||||
end
|
||||
end
|
||||
|
||||
describe '#body' do
|
||||
|
|
Loading…
Reference in New Issue