diff --git a/test/install_generator_test.rb b/test/install_generator_test.rb index 0a04755..5f84e54 100644 --- a/test/install_generator_test.rb +++ b/test/install_generator_test.rb @@ -10,6 +10,10 @@ def setup Rails.application.class.stubs(:name).returns("Dummy::Application") super end + + def teardown + Rails.application.class.unstub(:name) + end def test_batman_application_file_is_created run_generator