Skip to content

Commit

Permalink
Fix tests by removing stub
Browse files Browse the repository at this point in the history
  • Loading branch information
roywblack authored and John Duff committed Oct 27, 2011
1 parent 19ac031 commit 3189c67
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/install_generator_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3189c67

Please sign in to comment.