Fix Mechanize spec.

This commit is contained in:
Damian Janowski 2010-04-13 13:25:28 -03:00
parent 2c9de38129
commit c49123c772
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ describe "Webrat's Mechanize mode" do
it "should submit forms" do it "should submit forms" do
visit "http://localhost:9292/form" visit "http://localhost:9292/form"
fill_in "Email", :with => "albert@example.com" fill_in "Email", :with => "albert@example.com"
click_button "Add" response = click_button "Add"
response.should contain("Welcome albert@example.com") response.should contain("Welcome albert@example.com")
end end