Permalink
Browse files

Fix tests by removing stub

  • Loading branch information...
1 parent 19ac031 commit 3189c6769aebbef5ea89b639151866d0be06bf99 @roywblack roywblack committed with jduff Oct 27, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 test/install_generator_test.rb
View
4 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

0 comments on commit 3189c67

Please sign in to comment.