Skip to content

Instantly share code, notes, and snippets.

@RobertFischer
Created September 14, 2012 19:55
Show Gist options
  • Save RobertFischer/3724316 to your computer and use it in GitHub Desktop.
Save RobertFischer/3724316 to your computer and use it in GitHub Desktop.
Ruby erring out because a constant is *NOT* missing
Loaded suite ./test/unit/musicians_test
Started
E.
Finished in 0.027968 seconds.
1) Error:
test_load_one(MusiciansTest):
ArgumentError: Object is not missing constant Musician!
/home/rcfischer/.rvm/gems/ree-1.8.7-2012.02@reverbnation/gems/activesupport-2.2.3/lib/active_support/dependencies.rb:419:in `load_missing_constant'
/home/rcfischer/.rvm/gems/ree-1.8.7-2012.02@reverbnation/gems/activesupport-2.2.3/lib/active_support/dependencies.rb:77:in `const_missing'
/home/rcfischer/.rvm/gems/ree-1.8.7-2012.02@reverbnation/gems/activesupport-2.2.3/lib/active_support/dependencies.rb:89:in `const_missing'
/home/rcfischer/.rvm/gems/ree-1.8.7-2012.02@reverbnation/gems/activesupport-2.2.3/lib/active_support/dependencies.rb:95:in `send'
/home/rcfischer/.rvm/gems/ree-1.8.7-2012.02@reverbnation/gems/activesupport-2.2.3/lib/active_support/dependencies.rb:95:in `const_missing'
./test/unit/musicians_test.rb:10:in `test_load_one'
/home/rcfischer/.rvm/gems/ree-1.8.7-2012.02@reverbnation/gems/activesupport-2.2.3/lib/active_support/testing/setup_and_teardown.rb:94:in `__send__'
/home/rcfischer/.rvm/gems/ree-1.8.7-2012.02@reverbnation/gems/activesupport-2.2.3/lib/active_support/testing/setup_and_teardown.rb:94:in `run'
2 tests, 1 assertions, 0 failures, 1 errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment