search for: assign_paramet

Displaying 6 results from an estimated 6 matches for "assign_paramet".

2006 Jul 24
1
All functional tests fail with RoutingError
...ting.rb:415:in `generate'' c:/Install/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/li b/action_controller/routing.rb:602:in `extra_keys'' c:/Install/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/li b/action_controller/test_process.rb:86:in `assign_parameters'' c:/Install/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/li b/action_controller/test_process.rb:295:in `process'' c:/Install/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/li b/action_controller/test_process.rb:307:in `post''...
2008 Jan 12
0
Can't test application controller methods in functional tests?
...s/actionpack-1.13.5/lib/ action_controller/routing.rb:1244:in `generate_extras'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/ action_controller/routing.rb:1240:in `extra_keys'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/ action_controller/test_process.rb:105:in `assign_parameters'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/ action_controller/test_process.rb:380:in `process'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/ action_controller/test_process.rb:356:in `get'' forum_controller_test.rb:464:in `test_home''...
2007 Oct 04
1
PUT- or POST-ing xml
...ren''t a hash: 1) > NoMethodError in ''Assign Roles to Users should assign a single role'' > undefined method `symbolize_keys'' for #<String:0xb722d71c> > /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/test_process.rb:101:in > `assign_parameters'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/test_process.rb:377:in > `process'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/test_process.rb:353:in > `put'' > ./spec/controllers/assign_role_to_users_spec....
2007 Jun 07
0
Functional Tests Fail - No URL can be generated for hash
...erchantPortal/lib/ruby/site_ruby/1.8/action_controller/routing.rb:415:in `generate'' /apollo/env/MerchantPortal/lib/ruby/site_ruby/1.8/action_controller/routing.rb:602:in `extra_keys'' /apollo/env/MerchantPortal/lib/ruby/site_ruby/1.8/action_controller/test_process.rb:86:in `assign_parameters'' /apollo/env/MerchantPortal/lib/ruby/site_ruby/1.8/action_controller/test_process.rb:295:in `process'' /apollo/env/MerchantPortal/lib/ruby/site_ruby/1.8/action_controller/test_process.rb:307:in `get'' ./rails-app/tests/functional/tc_dummy_test.rb:18:in `test_...
2006 May 05
3
posting xml in functional test
Hello, I''m trying to write a functional test for a simple CRUD controller which accepts / emits xml in a REST- like fashion. However the following code won''t work for me - an exception is generated def test_create post :create, ''<person><name>john</name></person>'',
2006 May 06
0
RE: Rails Digest, Vol 20, Issue 156
...here it is 1) Error: test_create(PersonControllerTest): NoMethodError: undefined method `symbolize_keys'' for "<person><name>John</name></persion>":String /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/test_process.rb:99:in `assign_parameters'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/test_process.rb:358:in `process'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/test_process.rb:336:in `post'' test/functional/person _controller_test.rb:21...