diff --git a/spec/driver_spec.rb b/spec/driver_spec.rb index 208e9e3c..7a06a844 100644 --- a/spec/driver_spec.rb +++ b/spec/driver_spec.rb @@ -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 @@ -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