search for: problem_api_test

Displaying 1 result from an estimated 1 matches for "problem_api_test".

2006 Apr 14
8
Error with Web Service tests after upgrading to Rails 1.1.2
...% rake rails:update:configs After these steps, working before Web Services functional tests broke. To try to isolate the problem, I scaffolded a simple Web Services Controller: % ./script/generate web_service Problem my_method Running the test on this Controller, I get: % ruby test/functional/problem_api_test.rb Loaded suite test/functional/problem_api_test Started E Finished in 0.047129 seconds. 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 n...