search for: rake_test_load

Displaying 20 results from an estimated 93 matches for "rake_test_load".

Did you mean: rake_test_loader
2009 Jan 20
5
Problem running rake test
I''m using the One-click 1.8.7rc2 Ruby Windows installer, everything has been working fine up till now, when i want to start getting into testing, i got this error, any reason why? C:/Ruby/bin/ruby -Ilib;test "C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/ lib/rake/rake_test_loader.rb" "test/unit/word_test.rb" C:/Ruby/lib/ruby/1.8/erb.rb:469:in `scan'': You have a nil object when you didn''t expect it! (NoMethodError) You might have expected an instance of Array. The error occurred while evaluating nil.empty? from C:/Ruby/lib/ruby/1.8/...
2006 Jan 08
0
uninitialized constant Test
...aded to Rails 1.0 and started a new project. I''ve started writing some tests, but when I run rake, I just get the following... Amnesia:~/Development/Rails/pog shad$ rake (in /Users/shad/Development/Rails/pog) /usr/bin/ruby -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/rake_test_loader.rb" "test/unit/pog_test.rb" /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in `const_missing'': uninitialized constant Test (NameError) from ./test/unit/../test_helper.rb:6 from ./test/unit/pog_test.rb:1:in `require...
2006 Oct 30
1
Testing
...#39;'t working out of the box. I created a bare rails project (dubbed "ninja") and generated one worker "FirstWorker" and did rake test rake test (in /home/joshua/tmp/20061030-bdbtest/ninja) /usr/bin/ruby1.8 -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb" "test/unit/first_worker_test.rb" /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in `const_missing'': uninitialized constant Worker (NameError) from /home/joshua/tmp/20061030-bdbtest/ninja/config/../lib/workers/first_worker...
2005 Oct 20
5
Unit Test Error: `load_specification': undefined method `parse' for Time:Class
....13.1 and Ruby 1.8.2. Again, the error does not appear on Windows. Anyone come across this problem? Full stack trace below--- $ rake test_units (in /Users/james/Documents/Contract Jobs/HighGroove/robrady) /usr/local/bin/ruby -Ilib:test "/usr/local/lib/ruby/gems/1.8/gems/ rake-0.6.2/lib/rake/rake_test_loader.rb" "test/unit/account_test.rb" "test/unit/company_test.rb" "test/unit/contact_test.rb" "test/unit/ file_note_test.rb" "test/unit/file_status_test.rb" "test/unit/ file_type_test.rb" "test/unit/grade_test.rb" "test/uni...
2006 Jun 28
2
undefined method `use_transactional_fixtures=''
...I''m using 1.1.3 right now after but the 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_transact...
2007 Dec 05
1
rake error - please help
...t". Is my development environment broken? Can someone please tell me what this error means?: bbgun@echobase:~/RailsProjects/rails_space$ rake test:functionals (in /home/bbgun/RailsProjects/rails_space) /usr/local/bin/ruby -Ilib:test "/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader.rb" "test/functional/user_controller_test.rb" "test/functional/community_controller_test.rb" "test/functional/faq_controller_test.rb" "test/functional/spec_controller_test.rb" "test/functional/profile_controller_test.rb" "test/functional...
2006 Jul 02
5
"the number of parameters does not match the number of substitutions" error
All of a sudden, I''m getting this error: 1) Error: test_index(AccountControllerTest): RuntimeError: The number of parameters does not match the number of substitutions. /home/joe/projects/tanga/trunk/config/../vendor/rails/actionpack/lib/action_controller/assertions.rb:92:in `assert_redirected_to''
2011 Nov 05
2
Where is my gem file located so that i can rake test
...rom /home/eldorado/work/depot/test/unit/helpers/ products_helper_test.rb:1:in `require'' from /home/eldorado/work/depot/test/unit/helpers/ products_helper_test.rb:1:in `<top (required)>'' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ rake-0.9.2.2/lib/rake/rake_test_loader.rb:10:in `require'' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ rake-0.9.2.2/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ rake-0.9.2.2/lib/rake/rake_test_loader.rb:9:in `each'...
2007 May 28
3
MiniMagick... Core Dump when Reszing Images?
Hi, I''m using Mini Magick and that attachment_fu plugin to resize images that the user uploads. Everything looks okay in my code, but I get a core dump every time an image is uploaded. The file successfully posts to the application, I can see that the original file gets copied into the folder correctly. It appears that it dumps immediately after that. I''m using Mongrel behind
2009 Apr 06
3
After Rails 2.3.2 upgrade: superclass mismatch for class TestCase (TypeError)
....8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:158:in `require'' from /home/costi/workspace/r2rrails/test/test_helper.rb:3 from ./test/unit/customer_test.rb:1:in `require'' from ./test/unit/customer_test.rb:1 from /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/ rake_test_loader.rb:5:in `load'' from /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/ rake_test_loader.rb:5 from /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/ rake_test_loader.rb:5:in `each'' from /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/ rake_test_loader.rb:5 rake aborted! --~--~--...
2006 Feb 02
4
uninitialized constant Test (NameError)
....5/lib/ > active_support/dependencies.rb:200:in `const_missing'': > uninitialized constant Test (NameError) > from ./test/unit/../test_helper.rb:5 > from ./test/unit/album_test.rb:1 > from /usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/ > rake_test_loader.rb:5 > from /usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/ > rake_test_loader.rb:5 I found this reference on Google, which seems related, but no answer was provided: http://wrath.rubyonrails.org/pipermail/rails/2006-January/009628.html I get the same error whether I ru...
2007 Dec 21
0
rake test:plugins gives uninitialized constant RAILS_ROOT
Hello, Just upgraded to the the latest backgroundRb.I am getting an error when i run the task "rake test:plugin". Any idea why I am getting this? Here is the error message: /usr/bin/ruby1.8 -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader.rb" "vendor/plugins/backgroundrb/test/master_worker_test.rb" "vendor/plugins/backgroundrb/test/backgroundrb_test.rb" "vendor/plugins/backgroundrb/test/meta_worker_test.rb" /home/kenglish/workspace/brbtest/vendor/plugins/backgroundrb/lib/backgroundrb.rb:4: un...
2012 Feb 11
1
rake command shows the error
rails -v=2.3.8 gem -v= 1.4.2 ruby -v=1.8.7 When i issue the "rake" command ,it gives the following error . (in /home/amrit/amrit/OSV/OpenStreetView) /usr/bin/ruby1.8 -I"lib:test" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/functional/main_controller_test.rb" "test/functional/upload_controller_test.rb" "test/functional/moderate_controller_test.rb" "test/functional/content_controller_test.rb" "test/functional/homepage_controller_test.rb" "test/func...
2010 Nov 05
0
RoR:OSV: Installation issue
...8) and OSV code using git, when I issue "rake" command, I get response, which is reproduced below signature. What is missing from my installation? -- .O.C. $ rake (in /home/meet/OSV/OpenStreetView) /usr/bin/ruby1.8 -I"lib:test" "/var/lib/gems/1.8/gems/rake-0.8.7/lib/ rake/rake_test_loader.rb" "test/functional/ moderate_controller_test.rb" "test/functional/ private_controller_test.rb" "test/functional/main_controller_test.rb" "test/functional/sessions_controller_test.rb" "test/functional/ upload_controller_test.rb" "test/f...
2005 Dec 15
2
Rails 1.0 & RJS Templates
...templates-plugin . However, when I try to run ''rake test'' I get the following error: (in /Users/jason/projects/workarea/biolexis/trunk/rails/vendor/plugins/javascript_generator_templates) /opt/local/bin/ruby -Ilib:lib "/opt/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/rake_test_loader.rb" "test/controller/new_render_test.rb" ./test/controller/../abstract_unit.rb:10:in `require'': No such file to load -- action_controller (LoadError) from ./test/controller/../abstract_unit.rb:10 from ./test/controller/new_render_test.rb:1:in `require'...
2005 Dec 18
1
Informix adapter testing
...e_record.rb:37 from ./test/abstract_unit.rb:5:in `require'' from ./test/abstract_unit.rb:5 from ./test/aaa_create_tables_test.rb:2:in `require'' from ./test/aaa_create_tables_test.rb:2 from /usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/rake_test_loader.rb:5:in `load'' from /usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/rake_test_loader.rb:5 from /usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/rake_test_loader.rb:5:in `each'' from /usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/rake_test...
2008 May 30
0
silent rake test failure--doesn't happen on manual test run
...in the other. The code is identical, since it''s exported through an svn export. on app a, it works: --- $ svn up At revision 1191. $ rake (in /home/.../vendor/plugins/acts_as_media_file_manager) /home/ian/sw/bin/ruby -Ilib:lib "/home/ian/sw/lib/ruby/gems/1.8/gems/ rake-0.8.1/lib/rake/rake_test_loader.rb" "test/ image_processing_test.rb" "test/url_helper_test.rb" "test/ pathname_test.rb" "test/publisher_test.rb" "test/ file_manager_test.rb" Loaded suite /home/ian/sw/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake/ rake_test_loader Started ........
2010 Jun 30
0
rake TestTask problem with t.options
..."ruby test/integration/tcp_test.rb -n test_job_create" but if I try to do it in a rake file like below, it errors out. It seems the t.options is the problem because I can get it to work without that: /usr/bin/ruby -I"lib" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/ rake_test_loader.rb" "test/integration/tcp_test.rb" -n test_job_create /home/me/.gem/ruby/1.8/gems/activesupport-2.3.5/lib/active_support/ dependencies.rb:147:in `load_without_new_constant_marking'': no such file to load -- test_job_create (MissingSourceFile) from /home/LGuild/.gem/ruby/1...
2006 Jun 21
7
How to install patches?
Hi, Can someone explain how do I install patches. Once I go to the page, I am not sure what to download and how to apply? I am RoR newbie. -Thanks Hari -- Posted via http://www.ruby-forum.com/.
2008 Oct 08
9
Plugins and the test environment
Hi guys. I''m writing a plugin for use in the test environment. However, when I run ``rake test'''' or ``rake spec'''', RAILS_ENV is set to "development" when my plugin''s init.rb is run. How do you configure a plugin to load require a file in the test environment? Thanks, Nick --~--~---------~--~----~------------~-------~--~----~ You