diff options
author | Akira Matsuda <ronnie@dio.jp> | 2011-11-09 15:42:19 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2011-11-09 15:42:19 +0900 |
commit | 6d09f275c6e3224a8ea9a738512c90ee5334e20d (patch) | |
tree | fc5dabca5cdbc56ff237740e57f8ff8a80e2f373 /railties/test | |
parent | 7102a3d7fc55067b6cda1a7eeb3b3452050d9b6b (diff) | |
download | rails-6d09f275c6e3224a8ea9a738512c90ee5334e20d.tar.gz rails-6d09f275c6e3224a8ea9a738512c90ee5334e20d.tar.bz2 rails-6d09f275c6e3224a8ea9a738512c90ee5334e20d.zip |
Modulize Rails console methods so that other console libraries such as Pry can include these methods
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/application/console_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/console_test.rb b/railties/test/application/console_test.rb index 5a1f71ddad..b3745f194e 100644 --- a/railties/test/application/console_test.rb +++ b/railties/test/application/console_test.rb @@ -19,7 +19,7 @@ class ConsoleTest < Test::Unit::TestCase end def irb_context - Object.new.extend(IRB::ExtendCommandBundle) + Object.new.extend(Rails::ConsoleMethods) end def test_app_method_should_return_integration_session |