Skip to content

Commit

Permalink
Fix a failing tests on project.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
thewoolleyman committed Sep 7, 2009
1 parent c340ae1 commit 3c7f53a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/unit/project_test.rb
Expand Up @@ -224,6 +224,8 @@ def test_notify_should_create_plugin_error_log_if_plugin_fails_and_notify_has_a_

mock_build = Object.new
mock_build.stubs(:artifacts_directory).returns(sandbox.root)
mock_build.stubs(:label).returns("1")
mock_build.stubs(:successful?).returns(true)

listener = Object.new
listener.expects(:build_finished).with(mock_build).raises(StandardError.new("Listener failed"))
Expand Down

0 comments on commit 3c7f53a

Please sign in to comment.