Browse files

Fix Mechanize spec.

  • Loading branch information...
1 parent 2c9de38 commit c49123c772e4078a5f87fe32e07034152beabeb7 @djanowski djanowski committed Apr 13, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/integration/mechanize/spec/mechanize_spec.rb
View
2 spec/integration/mechanize/spec/mechanize_spec.rb
@@ -16,7 +16,7 @@
it "should submit forms" do
visit "http://localhost:9292/form"
fill_in "Email", :with => "albert@example.com"
- click_button "Add"
+ response = click_button "Add"
response.should contain("Welcome albert@example.com")
end

0 comments on commit c49123c

Please sign in to comment.