Fix Mechanize spec.
This commit is contained in:
parent
2c9de38129
commit
c49123c772
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue