search for: admin_controller_test

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

2006 Jun 28
2
undefined method `use_transactional_fixtures=''
...e error persists. I googled for this issue and it appears that a require is missing or something like that. I can''t figure it out, please help! /opt/local/bin/ruby -Ilib:test "/opt/local/lib/ruby/gems/1.8/gems/ rake-0.7.1/lib/rake/rake_test_loader.rb" "test/functional/ admin_controller_test.rb" "test/functional/error_controller_test.rb" "test/functional/poll_controller_test.rb" "test/functional/ user_controller_test.rb" ./test/functional/../test_helper.rb:18: undefined method `use_transactional_fixtures='' for Test::Unit::TestCase:Class...
2006 Feb 08
1
functional test problem
...#39; end ** The Error ******************************* 1) Error: test_delete_user(AdminControllerTest): ActiveRecord::RecordNotFound: Couldn''t find User with ID=2 c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:412:in `find'' test/functional/admin_controller_test.rb:140:in `test_delete_user'' 14 tests, 109 assertions, 0 failures, 1 errors -- Posted via http://www.ruby-forum.com/.
2006 Jul 24
1
All functional tests fail with RoutingError
...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'' test/functional/admin_controller_test.rb:53:in `test_create'' Anyone knows how to fix that? Thanks, Matt -- Posted via http://www.ruby-forum.com/.
2008 Jun 19
0
Error loading fixtures with classes that set_table_name
.../fixtures.rb:867:in `each'' /Library/Ruby/Gems/1.8/gems/activerecord-2.1.0/lib/active_record/fixtures.rb:867:in `require_fixture_classes'' /Library/Ruby/Gems/1.8/gems/activerecord-2.1.0/lib/active_record/fixtures.rb:850:in `fixtures'' ./test/test_helper.rb:15 test/functional/admin_controller_test.rb:1:in `require'' test/functional/admin_controller_test.rb:1 If I "require ''school''" by hand, it makes no difference. The fixtures still don''t load. Has anybody run in to this? Does anyone have any suggestions? Thanks! Brent -- Posted via http://...
2008 Jun 23
0
Error loading fixtures for classes that set_table_name
.../fixtures.rb:867:in `each'' /Library/Ruby/Gems/1.8/gems/activerecord-2.1.0/lib/active_record/fixtures.rb:867:in `require_fixture_classes'' /Library/Ruby/Gems/1.8/gems/activerecord-2.1.0/lib/active_record/fixtures.rb:850:in `fixtures'' ./test/test_helper.rb:15 test/functional/admin_controller_test.rb:1:in `require'' test/functional/admin_controller_test.rb:1 If I "require ''school''" by hand, it makes no difference. The fixtures still don''t load. Has anybody run in to this? Does anyone have any suggestions? Thanks! Brent -- Posted via http://...
2006 Aug 17
6
NameError in AdminController#index building scaffold
...ures/users.yml identical app/views/admin/_form.rhtml create app/views/admin/list.rhtml create app/views/admin/show.rhtml create app/views/admin/new.rhtml create app/views/admin/edit.rhtml create app/controllers/admin_controller.rb create test/functional/admin_controller_test.rb create app/helpers/admin_helper.rb create app/views/layouts/admin.rhtml create public/stylesheets/scaffold.css Looks like no problem, but then I check the page: NameError in AdminController#index uninitialized constant User RAILS_ROOT: ./script/../config/.. Application...