lib/capybara/spec/session/dismiss_prompt_spec.rb in capybara-2.14.0 vs lib/capybara/spec/session/dismiss_prompt_spec.rb in capybara-2.14.1

- old
+ new

@@ -8,10 +8,10 @@ @session.dismiss_prompt do @session.click_link('Open prompt') end expect(@session).to have_xpath("//a[@id='open-prompt' and @response='dismissed']") end - + it "should return the message presented" do message = @session.dismiss_prompt do @session.click_link('Open prompt') end expect(message).to eq('Prompt opened')