Skip to content

Instantly share code, notes, and snippets.

@invalidusrname
Last active April 3, 2019 20:02
Show Gist options
  • Save invalidusrname/56719 to your computer and use it in GitHub Desktop.
Save invalidusrname/56719 to your computer and use it in GitHub Desktop.
Rails 2.3 RC failing tests
$ ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9]
$ rails -v
Rails 2.3.0
$ rails testo
$ cd testo
$ ./script/generate model user name:string
$ rake db:migrate
$ rake test
/opt/local/bin/ruby -Ilib:test "/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/rake_test_loader.rb" "test/unit/user_test.rb"
Loaded suite /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/rake_test_loader
Started
FFFFF.
Finished in 0.156092 seconds.
1) Failure:
default_test(ActionController::TestCase)
[/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/test_case_adapter.rb:69:in `__send__'
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/test_case_adapter.rb:69:in `run'
/opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/testing/setup_and_teardown.rb:24:in `run']:
No tests were specified.
2) Failure:
default_test(ActionMailer::TestCase)
[/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/test_case_adapter.rb:69:in `__send__'
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/test_case_adapter.rb:69:in `run'
/opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/testing/setup_and_teardown.rb:24:in `run']:
No tests were specified.
3) Failure:
default_test(ActionView::TestCase)
[/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/test_case_adapter.rb:69:in `__send__'
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/test_case_adapter.rb:69:in `run'
/opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/testing/setup_and_teardown.rb:24:in `run']:
No tests were specified.
4) Failure:
default_test(ActiveRecord::TestCase)
[/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/test_case_adapter.rb:69:in `__send__'
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/test_case_adapter.rb:69:in `run'
/opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/testing/setup_and_teardown.rb:24:in `run']:
No tests were specified.
5) Failure:
default_test(ActiveSupport::TestCase)
[/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/test_case_adapter.rb:69:in `__send__'
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/test_case_adapter.rb:69:in `run'
/opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/testing/setup_and_teardown.rb:24:in `run']:
No tests were specified.
6 tests, 6 assertions, 5 failures, 0 errors
/opt/local/bin/ruby -Ilib:test "/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/rake_test_loader.rb"
/opt/local/bin/ruby -Ilib:test "/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/rake_test_loader.rb"
Errors running test:units!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment