Skip to content

Instantly share code, notes, and snippets.

@bernsno
Created December 9, 2009 23:44
Show Gist options
  • Save bernsno/252957 to your computer and use it in GitHub Desktop.
Save bernsno/252957 to your computer and use it in GitHub Desktop.
(in /usr/local/projects/law-mo-tron)
** Invoke default (first_time)
** Invoke test (first_time)
** Execute test
** Invoke test:units (first_time)
** Invoke db:test:prepare (first_time)
** Invoke db:abort_if_pending_migrations (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:abort_if_pending_migrations
** Execute db:test:prepare
** Invoke db:test:load (first_time)
** Invoke db:test:purge (first_time)
** Invoke environment
** Execute db:test:purge
** Execute db:test:load
** Invoke db:schema:load (first_time)
** Invoke environment
** Execute db:schema:load
** Execute test:units
/opt/ruby-enterprise-1.8.6-20081205/bin/ruby -I"lib:test" "/opt/ruby-enterprise-1.8.6-20081205/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/unit/account_test.rb" "test/unit/address_test.rb" "test/unit/attachment_test.rb" "test/unit/blog_post_test.rb" "test/unit/category_test.rb" "test/unit/helpers/admin/lawyers_helper_test.rb" "test/unit/lawyer_test.rb" "test/unit/news_item_test.rb" "test/unit/office_test.rb" "test/unit/page_test.rb" "test/unit/practice_area_test.rb" "test/unit/user_test.rb"
/opt/ruby-enterprise-1.8.6-20081205/lib/ruby/gems/1.8/gems/nokogiri-1.4.0/lib/nokogiri/xml/builder.rb:272: warning: parenthesize argument(s) for future version
[DEPRECATION] should_change(expression, options) is deprecated. Use should_change(description, options) { code } instead.
[DEPRECATION] should_change(expression, options) is deprecated. Use should_change(description, options) { code } instead.
[DEPRECATION] should_not_change(expression) is deprecated. Use should_not_change(description) { code } instead.
/usr/local/projects/law-mo-tron/test/shoulda_macros/paperclip.rb:5:in `should_have_attached_file': undefined local variable or method `model_class' for AttachmentTest:Class (NameError)
from ./test/unit/attachment_test.rb:11
from /opt/ruby-enterprise-1.8.6-20081205/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:147:in `load_without_new_constant_marking'
from /opt/ruby-enterprise-1.8.6-20081205/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:147:in `load'
from /opt/ruby-enterprise-1.8.6-20081205/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5
from /opt/ruby-enterprise-1.8.6-20081205/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in `each'
from /opt/ruby-enterprise-1.8.6-20081205/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5
** Invoke test:functionals (first_time)
** Invoke db:test:prepare
** Execute test:functionals
/opt/ruby-enterprise-1.8.6-20081205/bin/ruby -I"lib:test" "/opt/ruby-enterprise-1.8.6-20081205/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/functional/admin/attachments_controller_test.rb" "test/functional/admin/lawyers_controller_test.rb" "test/functional/admin/user_sessions_controller_test.rb"
/opt/ruby-enterprise-1.8.6-20081205/lib/ruby/gems/1.8/gems/nokogiri-1.4.0/lib/nokogiri/xml/builder.rb:272: warning: parenthesize argument(s) for future version
Loaded suite /opt/ruby-enterprise-1.8.6-20081205/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
...
Finished in 0.010937 seconds.
3 tests, 3 assertions, 0 failures, 0 errors
** Invoke test:integration (first_time)
** Invoke db:test:prepare
** Execute test:integration
/opt/ruby-enterprise-1.8.6-20081205/bin/ruby -I"lib:test" "/opt/ruby-enterprise-1.8.6-20081205/lib/ruby/gems/1.8/gems/rake-0.8.7/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