it "should be able to sign me up as us...@example.com" do
visit register_url
fill_in "user[email]", :with => "us...@example.com"
click_button # hangs here indefinitely until rspec timeout...
end
And here's what's in the test.log (after rake spec:integration)
Processing UsersController#new (for 127.0.0.1 at 2009-11-17 16:25:09) [GET]
Parameters: {"action"=>"new", "controller"=>"users"}
Rendering template within layouts/application
Rendering users/new
Rendered layouts/_nav (9.0ms)
Completed in 8802ms (View: 2617, DB: 1) | 200 OK [http://www.example.com/register]
REQUESTING PAGE: POST /users with {"user"=>{"email"=>"us...@example.com"}, "commit"=>"Register!", "authenticity_token"=>"CC5/G9hGENY817VeTce5Be2Xh8vrhNxog8N/h7ekZT4="} and HTTP headers {"HTTP_REFERER"=>"http://www.example.com/register"}
... then silence!
My UsersController never sees UsersController#create! I think webrat is hanging inside its process_request method but args there looked good (checked via breakpoint).
Ruby 1.8.6 patchlevel 111, Rails 2.3.4
Webrat 0.5.3, nokogiri 1.4.0
Any ideas on where I should be looking? Thanks for any pointers whatsoever!