diff --git a/lib/capybara/spec/session/find_spec.rb b/lib/capybara/spec/session/find_spec.rb index 54cc7228..6734563d 100644 --- a/lib/capybara/spec/session/find_spec.rb +++ b/lib/capybara/spec/session/find_spec.rb @@ -42,10 +42,8 @@ Capybara::SpecHelper.spec '#find' do @session.find(:css, "input[id='test_field']")[:value].should == 'monkey' end - context "with native css query", requires: [:native_css] do - it "should support pseudo selectors" do - @session.find(:css, 'input:disabled').value.should == 'This is disabled' - end + it "should support pseudo selectors" do + @session.find(:css, 'input:disabled').value.should == 'This is disabled' end end @@ -303,11 +301,9 @@ Capybara::SpecHelper.spec '#find' do end end - context "with native css query", requires: [:native_css] do - it "should find an element using the given css locator" do - @session.within(:xpath, "//div[@id='for_bar']") do - @session.find(:css, 'input:disabled').value.should == 'James' - end + it "should support pseudo selectors" do + @session.within(:xpath, "//div[@id='for_bar']") do + @session.find(:css, 'input:disabled').value.should == 'James' end end end diff --git a/spec/dsl_spec.rb b/spec/dsl_spec.rb index 50a6990e..7bb7a531 100644 --- a/spec/dsl_spec.rb +++ b/spec/dsl_spec.rb @@ -10,8 +10,7 @@ Capybara::SpecHelper.run_specs TestClass.new, "DSL", :skip => [ :screenshot, :frames, :windows, - :server, - :native_css + :server ] describe Capybara::DSL do