From 124ec5d76e4b79f6b40dd598f81c57c7c4938374 Mon Sep 17 00:00:00 2001 From: jarra Date: Sat, 28 Aug 2010 18:57:45 +0200 Subject: [PATCH] Oops, renaming mistake fixed! --- lib/capybara/spec/driver.rb | 2 +- spec/driver/selenium_driver_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/capybara/spec/driver.rb b/lib/capybara/spec/driver.rb index 77b45582..9727bf6e 100644 --- a/lib/capybara/spec/driver.rb +++ b/lib/capybara/spec/driver.rb @@ -154,7 +154,7 @@ shared_examples_for "driver with frame support" do end end -shared_examples_for "driver with support for switching windows" do +shared_examples_for "driver with support for window switching" do describe '#within_window' do before(:each) do @driver.visit('/within_popups') diff --git a/spec/driver/selenium_driver_spec.rb b/spec/driver/selenium_driver_spec.rb index 0c72857a..c94f7cb2 100644 --- a/spec/driver/selenium_driver_spec.rb +++ b/spec/driver/selenium_driver_spec.rb @@ -8,7 +8,7 @@ describe Capybara::Driver::Selenium do it_should_behave_like "driver" it_should_behave_like "driver with javascript support" it_should_behave_like "driver with frame support" - it_should_behave_like "driver with popup support" + it_should_behave_like "driver with support for window switching" it_should_behave_like "driver without status code support" it_should_behave_like "driver with cookies support" end