Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix typos
  • Loading branch information
znz authored and youpy committed Jul 22, 2014
1 parent 4be8355 commit 5d6ae88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/driver_spec.rb
Expand Up @@ -671,7 +671,7 @@ def visit(url, driver=driver)
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
Expand Down Expand Up @@ -756,7 +756,7 @@ def visit(url, driver=driver)
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
Expand Down

0 comments on commit 5d6ae88

Please sign in to comment.