Skip to content
Browse files

formatting

  • Loading branch information...
1 parent fa780a6 commit 70458987e53c40a51db3a244ec87b18a08e8a0d4 @jnicklas committed Dec 30, 2012
Showing with 10 additions and 10 deletions.
  1. +10 −10 lib/capybara/spec/session/current_url_spec.rb
View
20 lib/capybara/spec/session/current_url_spec.rb
@@ -79,15 +79,15 @@ def visit_host_links
should_be_on 0, "/landed"
end
- it "is affected by pushState", :requires => [:js] do
- @session.visit("/with_js")
- @session.execute_script("window.history.pushState({}, '', '/pushed')")
- @session.current_path.should == "/pushed"
- end
+ it "is affected by pushState", :requires => [:js] do
+ @session.visit("/with_js")
+ @session.execute_script("window.history.pushState({}, '', '/pushed')")
+ @session.current_path.should == "/pushed"
+ end
- it "is affected by replaceState", :requires => [:js] do
- @session.visit("/with_js")
- @session.execute_script("window.history.replaceState({}, '', '/replaced')")
- @session.current_path.should == "/replaced"
- end
+ it "is affected by replaceState", :requires => [:js] do
+ @session.visit("/with_js")
+ @session.execute_script("window.history.replaceState({}, '', '/replaced')")
+ @session.current_path.should == "/replaced"
+ end
end

0 comments on commit 7045898

Please sign in to comment.
Something went wrong with that request. Please try again.