1
0
Fork 0
mirror of https://github.com/thoughtbot/capybara-webkit synced 2023-03-27 23:22:28 -04:00

fix typos

This commit is contained in:
Kazuhiro NISHIYAMA 2013-09-03 17:18:30 +09:00
parent f0282ca61f
commit 83144ae1dd

View file

@ -671,7 +671,7 @@ describe Capybara::Webkit::Driver do
driver.console_messages.first[:message].should eq "hello"
end
it "should collect the javsacript confirm dialog contents" do
it "should collect the javascript confirm dialog contents" do
driver.find_xpath("//input").first.click
driver.confirm_messages.first.should eq "Yes?"
end
@ -756,7 +756,7 @@ describe Capybara::Webkit::Driver do
driver.console_messages.last[:message].should eq "hello John Smith"
end
it "should collect the javsacript prompt dialog contents" do
it "should collect the javascript prompt dialog contents" do
driver.find_xpath("//input").first.click
driver.prompt_messages.first.should eq "Your name?"
end