1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

Small format tweak

This commit is contained in:
Jonas Nicklas 2009-12-25 17:53:09 +01:00
parent 4c29fd9581
commit c6f2f3f7b2

View file

@ -4,8 +4,8 @@ require 'nokogiri'
shared_examples_for "session with javascript support" do
describe "#evaluate_script" do
before{ @session.visit('/with_js') }
it "should return the evaluated script" do
@session.visit('/with_js')
@session.evaluate_script("1+3").should == 4
end
end