fix typos
This commit is contained in:
parent
f0282ca61f
commit
83144ae1dd
|
@ -671,7 +671,7 @@ describe Capybara::Webkit::Driver do
|
||||||
driver.console_messages.first[:message].should eq "hello"
|
driver.console_messages.first[:message].should eq "hello"
|
||||||
end
|
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.find_xpath("//input").first.click
|
||||||
driver.confirm_messages.first.should eq "Yes?"
|
driver.confirm_messages.first.should eq "Yes?"
|
||||||
end
|
end
|
||||||
|
@ -756,7 +756,7 @@ describe Capybara::Webkit::Driver do
|
||||||
driver.console_messages.last[:message].should eq "hello John Smith"
|
driver.console_messages.last[:message].should eq "hello John Smith"
|
||||||
end
|
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.find_xpath("//input").first.click
|
||||||
driver.prompt_messages.first.should eq "Your name?"
|
driver.prompt_messages.first.should eq "Your name?"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue