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
Doe'', :email =>
''john-S5xpjNk2yVFBDgjK7y7TUQ@public.gmane.org'', :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:in
`read_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:in
`initialize_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:in
`initialize''
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:in
`process''
... 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:in
`run''
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!
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---