1
0
Fork 0
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:
Nicklas Ramhöj 2010-09-07 18:34:47 +02:00
parent df5fe4452c
commit 69b1d4ffdf

View file

@ -75,15 +75,15 @@ describe Capybara do
it "should change with the current driver" do
Capybara.current_session.mode.should == :rack_test
Capybara.current_driver = :culerity
Capybara.current_session.mode.should == :culerity
Capybara.current_driver = :selenium
Capybara.current_session.mode.should == :selenium
end
it "should be persistent even across driver changes" do
object_id = Capybara.current_session.object_id
Capybara.current_session.object_id.should == object_id
Capybara.current_driver = :culerity
Capybara.current_session.mode.should == :culerity
Capybara.current_driver = :selenium
Capybara.current_session.mode.should == :selenium
Capybara.current_session.object_id.should_not == object_id
Capybara.current_driver = :rack_test