Permalink
Browse files

Stub is_a? not instance_of? here

  • Loading branch information...
1 parent 3b170b2 commit 677e1e58b6c32b34a95d15ecd5ddb749d4158d30 @spastorino spastorino committed Aug 3, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/test/generators/app_generator_test.rb
@@ -114,7 +114,7 @@ def test_application_name_is_detected_if_it_exists_and_app_folder_renamed
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)

0 comments on commit 677e1e5

Please sign in to comment.