search for: tester_test

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

2007 Dec 18
0
Can not test if model name is Tester in rails 2 (ArgumentError: wrong number of arguments (0 for 1))
...name:string description:text" 3. create database (after change username and password) "rake db:create:all" 4. migrate database, both development and test "rake db:migrate" "rake db:migrate RAILS_ENV=test" 5. unit test the tester model "ruby test/unit/tester_test.rb" Here is the error i''ve got everytime D:\web\Sites\demo>ruby test/unit/tester_test.rb Loaded suite test/unit/tester_test Started .E.... Finished in 0.234 seconds. 1) Error: testers(ActionController::TestCase): ArgumentError: wrong number of arguments (0 for 1) D:/web/Site...