mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Don't switch to culerity/celerity in dsl spec
This commit is contained in:
parent
df5fe4452c
commit
69b1d4ffdf
1 changed files with 4 additions and 4 deletions
|
|
@ -75,15 +75,15 @@ describe Capybara do
|
||||||
|
|
||||||
it "should change with the current driver" do
|
it "should change with the current driver" do
|
||||||
Capybara.current_session.mode.should == :rack_test
|
Capybara.current_session.mode.should == :rack_test
|
||||||
Capybara.current_driver = :culerity
|
Capybara.current_driver = :selenium
|
||||||
Capybara.current_session.mode.should == :culerity
|
Capybara.current_session.mode.should == :selenium
|
||||||
end
|
end
|
||||||
|
|
||||||
it "should be persistent even across driver changes" do
|
it "should be persistent even across driver changes" do
|
||||||
object_id = Capybara.current_session.object_id
|
object_id = Capybara.current_session.object_id
|
||||||
Capybara.current_session.object_id.should == object_id
|
Capybara.current_session.object_id.should == object_id
|
||||||
Capybara.current_driver = :culerity
|
Capybara.current_driver = :selenium
|
||||||
Capybara.current_session.mode.should == :culerity
|
Capybara.current_session.mode.should == :selenium
|
||||||
Capybara.current_session.object_id.should_not == object_id
|
Capybara.current_session.object_id.should_not == object_id
|
||||||
|
|
||||||
Capybara.current_driver = :rack_test
|
Capybara.current_driver = :rack_test
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue