Skip to content

Instantly share code, notes, and snippets.

@arthurnn
Created May 26, 2015 20:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arthurnn/a4189a0fb5bea964af56 to your computer and use it in GitHub Desktop.
Save arthurnn/a4189a0fb5bea964af56 to your computer and use it in GitHub Desktop.
[arthurnn@ralph myapp]$ ruby -Itest test/models/post_test.rb
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from rescue in <class:Exception> at /Users/arthurnn/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/bundler/gems/web-console-90a9a2c91b0f/lib/web_console/core_ext/exception/cruby.rb:37)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from included at /Users/arthurnn/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/turbolinks-2.5.3/lib/turbolinks/xhr_url_for.rb:7)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from block (2 levels) in <class:Engine> at /Users/arthurnn/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/bundler/gems/web-console-90a9a2c91b0f/lib/web_console/engine.rb:23)
/Users/arthurnn/dev/rails/activesupport/lib/active_support/testing/declarative.rb:14:in `test': test_the_truth is already defined in PostTest (RuntimeError)
from /Users/arthurnn/dev/railstest/myapp/test/models/post_test.rb:4:in `<class:PostTest>'
from /Users/arthurnn/dev/railstest/myapp/test/models/post_test.rb:3:in `<top (required)>'
from /Users/arthurnn/dev/rails/activesupport/lib/active_support/dependencies.rb:274:in `require'
from /Users/arthurnn/dev/rails/activesupport/lib/active_support/dependencies.rb:274:in `block in require'
from /Users/arthurnn/dev/rails/activesupport/lib/active_support/dependencies.rb:240:in `load_dependency'
from /Users/arthurnn/dev/rails/activesupport/lib/active_support/dependencies.rb:274:in `require'
from /Users/arthurnn/dev/rails/railties/lib/rails/test_unit/test_requirer.rb:11:in `block in require_files'
from /Users/arthurnn/dev/rails/railties/lib/rails/test_unit/test_requirer.rb:10:in `each'
from /Users/arthurnn/dev/rails/railties/lib/rails/test_unit/test_requirer.rb:10:in `require_files'
from /Users/arthurnn/dev/rails/railties/lib/rails/test_unit/minitest_plugin.rb:37:in `plugin_rails_init'
from /Users/arthurnn/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/minitest-5.6.1/lib/minitest.rb:74:in `block in init_plugins'
from /Users/arthurnn/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/minitest-5.6.1/lib/minitest.rb:72:in `each'
from /Users/arthurnn/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/minitest-5.6.1/lib/minitest.rb:72:in `init_plugins'
from /Users/arthurnn/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/minitest-5.6.1/lib/minitest.rb:123:in `run'
from /Users/arthurnn/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/minitest-5.6.1/lib/minitest.rb:56:in `block in autorun'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment