search for: test_invok

Displaying 8 results from an estimated 8 matches for "test_invok".

Did you mean: test_invoke
2005 Dec 30
4
soap4r 1.5.5 seems to break actionWebService tests
.../usr/local/lib/ruby/1.8/soap/rpc/element.rb:116:in `set_param'' /usr/local/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service/protocol/soap_protocol.rb:78:in `encode_request'' /usr/local/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service/test_invoke.rb:55:in `encode_rpc_call'' /usr/local/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service/test_invoke.rb:36:in `prepare_request'' /usr/local/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service/test_invoke.rb:9:in `invoke''
2006 Apr 14
8
Error with Web Service tests after upgrading to Rails 1.1.2
.... 1) Error: test_my_method(ProblemControllerApiTest): NoMethodError: You have a nil object when you didn''t expect it! You might have expected an instance of Array. The error occured while evaluating nil.length /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/test_invoke.rb:55:in `encode_rpc_call'' /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/test_invoke.rb:36:in `prepare_request'' /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/test_invoke.rb:9:in `invoke'' test/function...
2005 Aug 23
8
Web Services testing... Agile Book p. 435
I am attempting to test the web services added during chapter 20 of the Agile book. The code as written in the book yields 2 errors: test_find_product_by_id(BackendControllerApiTest): XMLParserError: syntax error Anyone hit this yet and get it to work? Thanks. Ken _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2007 Aug 17
1
Testing webservices in Integration Tests with Jamis Buck's recipe?
...upload, super_new_data end Test test results in a nil.recycle! error message on the last invoke: NoMethodError: You have a nil object when you didn''t expect it! The error occurred while evaluating nil.recycle! /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.2.1/lib/ action_web_service/test_invoke.rb:32:in `prepare_request'' /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.2.1/lib/ action_web_service/test_invoke.rb:9:in `invoke'' It seems that the default @request in the setup is corrupted by our open_session implementation? Can somebody help me on this? Best regards, Je...
2006 May 19
1
Strange error when testing layered web service
...#39;' c:/ruby/lib/ruby/1.8/soap/processor.rb:39:in `unmarshal'' c:/ruby/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_ser vice/protocol/soap_proto col.rb:84:in `decode_response'' c:/ruby/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_ser vice/test_invoke.rb:60:i n `decode_rpc_response'' c:/ruby/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_ser vice/test_invoke.rb:26:i n `invoke_layered'' hardware_api_test.rb:21:in `test_find_hardware_by_id'' 1 tests, 0 assertions, 0 failures, 1 errors I''m not...
2005 Dec 31
1
Error when Testing AWS API (ArgumentError: illegal refid http://test.host/login)
.../ruby/1.8/soap/processor.rb:39:in `unmarshal'' /usr/local/ruby/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service/protocol/soap_protocol.rb:84:in `decode_response'' /usr/local/ruby/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service/test_invoke.rb:59:in `decode_rpc_response'' /usr/local/ruby/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service/test_invoke.rb:11:in `invoke'' ./test/functional/my_test_api_test.rb:14:in `test_do_it'' I''m using Ruby 1.8.4 compiled form source...
2006 Jan 30
3
Arrays of objects as parameters to webservices
I think I am missing something terribly obvious. Is it possible to have an :expects parameter for a webservice that is an array of objects? I want to have a single webservice that expects all my line items (for an order). Is this something that is possible? -- Posted via http://www.ruby-forum.com/.
2006 Dec 27
2
DB-less rspec_on_rails
Hi! I''m still struggling with RSpec to get it working with a Rails application, that does not use a database. I removed all the db:* dependencies from the RSpec targets, but it still wants to connect to a database. Any ideas? bye, Tobias ** Execute spec:models /usr/bin/ruby1.8 -I"/var/lib/gems/1.8/gems/rspec-0.7.5/lib"