diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2010-08-03 02:05:00 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2010-08-03 12:17:53 -0300 |
commit | b8634dddabb84f74a1e5314ea1f26833a6feebc4 (patch) | |
tree | 22d41ff9a15f5a3995d39dad0c9259b8bbfd7aa1 /railties | |
parent | 84081fcc548b309a79580b03aab6a39b726e0b03 (diff) | |
download | rails-b8634dddabb84f74a1e5314ea1f26833a6feebc4.tar.gz rails-b8634dddabb84f74a1e5314ea1f26833a6feebc4.tar.bz2 rails-b8634dddabb84f74a1e5314ea1f26833a6feebc4.zip |
Stub is_a? not instance_of? here
Diffstat (limited to 'railties')
-rw-r--r-- | railties/test/generators/app_generator_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb index 21725a380c..08cfb585f9 100644 --- a/railties/test/generators/app_generator_test.rb +++ b/railties/test/generators/app_generator_test.rb @@ -114,7 +114,7 @@ class AppGeneratorTest < Rails::Generators::TestCase Rails.application.config.root = app_moved_root Rails.application.class.stubs(:name).returns("Myapp") - Rails.application.stubs(:instance_of?).returns(Rails::Application) + Rails.application.stubs(:is_a?).returns(Rails::Application) FileUtils.mv(app_root, app_moved_root) |