Integration Testing - hang with post parameters

I’m getting some weirdness with integration testing. The following
works fine if I don’t have parameters, but as soon as I add parameters I
get a hang. Not sure exactly where it is hanging.

NO HANG
post ‘user/register’

HANG
post ‘user/register’, :user => {:name => ‘John D.’, :email =>
[email protected]’, :zipcode => ‘12111’, :password => ‘hello’,
:password_confirmation => ‘hello’}

When I do a ctrl-C I get a bit of a trace… any ideas?

from
/Users/rodney/code/puppy/vendor/rails/actionpack/lib/action_controller/cgi_ext/query_extension.rb:76:in
read_body' from /Users/rodney/code/puppy/vendor/rails/actionpack/lib/action_controller/cgi_ext/query_extension.rb:88:inread_params’
from
/Users/rodney/code/puppy/vendor/rails/actionpack/lib/action_controller/cgi_ext/query_extension.rb:46:in
initialize_query' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/cgi.rb:2276:ininitialize_without_stdinput’
from
/Users/rodney/code/puppy/vendor/rails/actionpack/lib/action_controller/cgi_ext/stdinput.rb:19:in
initialize' from /Users/rodney/code/puppy/vendor/rails/actionpack/lib/action_controller/integration.rb:205:ininitialize’
from
/Users/rodney/code/puppy/vendor/rails/actionpack/lib/action_controller/integration.rb:256:in
new' from /Users/rodney/code/puppy/vendor/rails/actionpack/lib/action_controller/integration.rb:256:inprocess’
… 17 levels…
from
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in
run' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/autorunner.rb:12:inrun’
from
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit.rb:278
from
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader.rb:5
rake aborted!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs