From 70458987e53c40a51db3a244ec87b18a08e8a0d4 Mon Sep 17 00:00:00 2001 From: Jonas Nicklas Date: Sun, 30 Dec 2012 15:05:41 +0100 Subject: [PATCH] formatting --- lib/capybara/spec/session/current_url_spec.rb | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/capybara/spec/session/current_url_spec.rb b/lib/capybara/spec/session/current_url_spec.rb index f9f17d43..b6d52600 100644 --- a/lib/capybara/spec/session/current_url_spec.rb +++ b/lib/capybara/spec/session/current_url_spec.rb @@ -79,15 +79,15 @@ Capybara::SpecHelper.spec '#current_url, #current_path, #current_host' do 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