From 3189c6769aebbef5ea89b639151866d0be06bf99 Mon Sep 17 00:00:00 2001 From: "Roy W. Black" Date: Wed, 26 Oct 2011 21:34:06 -0600 Subject: [PATCH] Fix tests by removing stub --- test/install_generator_test.rb | 4 ++++ 1 file changed, 4 insertions(+) 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