similar to: rake TestTask problem with t.options

Displaying 20 results from an estimated 600 matches similar to: "rake TestTask problem with t.options"

2006 Apr 03
0
follow_redirect! aborts rake during integration tests
I''m running integration tests on Rails 1.1/Ruby 1.8.4/Windows XP and have found that any call to follow_redirect! (directly or through [get|post]_via_redirect) causes rake to abort (see command line output below). Has anyone else seen this error, or know what might be the trouble? Thanks! Tom C:\dev\h2h>rake test:integration --trace (in C:/dev/h2h) ** Invoke test:integration
2009 Apr 07
3
Speed bumps on the way to successfully running puppetmasterd on Mac OSX Leopard, try one and two
Hey all, I have recorded my steps towards getting puppet functional through one of the four different methods that I can think of, which are: 1.Source(copying and insatlling to the recommended unix FSH directory, /usr/local/src) 2.pkg hosted at explanatorygap 3.MacPorts 4.RubyGems I haven''t cleanly tested the last two, but here''s where I am with the first two: 1. I
2006 Jun 10
2
readline problems
I get the following error: rake test_units --trace ** Invoke test_units (first_time) ** Invoke test:units (first_time) ** Invoke db:test:prepare (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:test:prepare ** Invoke db:test:clone (first_time) ** Invoke db:schema:dump (first_time) ** Invoke environment ** Execute db:schema:dump ** Execute db:test:clone **
2010 Jun 11
5
Issues creating tables in mysql tests
Hello, I''m a beginner, so any hints are appreciated; I''m still trying to find my way around Rails code. For a bug I''ve found I need to create a table called "values" so I added this: create_table :values do |t| t.integer :value end among the other table creations in activerecord/test/cases/migration_test.rb. Is that ok? But then, when I run the tests
2010 Nov 05
0
RoR:OSV: Installation issue
I am trying to get a local installation of OpenStreetView, on Ubuntu 10.10 On installing Rails (2.3.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/
2012 Dec 27
1
superclass mismatch for class TeeInput?
> I was trying to run Unicorn 4.5.0''s tests and I''m getting this. Am I doing something wrong? > > [vagrant at localhost unicorn-4.5.0]$ testrb -Ilib -Iext/unicorn_http -I. test > /home/vagrant/.gem/ruby/1.9.1/gems/unicorn-4.5.0/test/unit/test_tee_input.rb:7:in `<top (required)>'': superclass mismatch for class TeeInput (TypeError) > from
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"
2006 Jan 08
0
uninitialized constant Test
I recently upgraded 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"
2011 Nov 05
2
Where is my gem file located so that i can rake test
Googling around, I found that apparently adding to the gem file will fix my problems, but where do i find the gem file? what is the name of the gem file? "group :test do # Pretty printed test output gem ''minitest'' ####### add this line ####### end" Here is what happens when i run rake test, please note that i have already installed minitest
2006 Oct 30
1
Testing
With the 0.2.0 code, unit testing of workers isn''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"
2009 Aug 21
0
[ win32utils-Bugs-26975 ] Two test failures on XP virtual machine
Bugs item #26975, was opened at 2009-08-21 10:52 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=26975&group_id=85 Category: win32-sapi Group: Code Status: Open Resolution: None Priority: 3 Submitted By: Daniel Berger (djberg96) Assigned to: Nobody (None) Summary: Two test failures on XP virtual machine Initial Comment: Ruby 1.8.6-p383 VC++ 9
2006 Jul 22
3
test:plugins task dependency on :environment is pointless, surely?
Hello all, I''ve been doing quite a bit of rooting around the plugin system recently, and one thing in particularly has me puzzled and bemused. At the moment, the test:plugins task has a dependency on the :environment task, thus loading up Rails in all it''s resplendent glory. Once it''s done this it uses Rake::TestTask to load the tests for every plugin. However, because
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
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"
2007 Dec 05
1
rake error - please help
Hi- I''m suddenly getting this rake error where as before I wasn''t. And nothing''s been changed. As you can see it says something about "load_missing_constant". 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)
2005 Dec 15
2
Rails 1.0 & RJS Templates
Hello all, I just successfully updated my dev env to Rails 1.0. I then wanted to get .rjs templates working and followed Cody''s instructions at http://www.codyfauser.com/articles/2005/12/02/rails-rjs-templates-plugin . However, when I try to run ''rake test'' I get the following error: (in
2005 Dec 18
1
Informix adapter testing
I''ve just written an ActiveRecord adapter for Informix. It lacks a pair of features that I will add later, but it works for me. I found this on the web: http://wiki.rubyonrails.com/rails/pages/HowToWriteAnActiveRecordAdapter and followed it, but when I get to $ rake test_informix I get the following error messages: -----------------------8<-----------------------
2008 May 30
0
silent rake test failure--doesn't happen on manual test run
Hi all, This is kinda weird. I''m working on a plugin. On the same computer (eg. same gems, ruby, etc.), installed into different apps, it fails silently in one, but works 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)
2005 Oct 20
5
Unit Test Error: `load_specification': undefined method `parse' for Time:Class
All, I''ve come across a confusing problem when attempting to run unit tests for an application on OSX (works on Windows). I''m receiving the following error: `load_specification'': undefined method `parse'' for Time:Class (NoMethodError) This is also confusing because I can''t figure out how the error appeared. When I revert back to previous revisions,
2006 Jun 28
2
undefined method `use_transactional_fixtures=''
Folks, I checked my test_helper.rb and it has self.use_transactional_fixtures = true My code was generated with 1.1.2 and 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