diff --git a/test/unit/comment_helper_test.rb b/test/unit/comment_helper_test.rb index 545801e..8ea3994 100644 --- a/test/unit/comment_helper_test.rb +++ b/test/unit/comment_helper_test.rb @@ -12,7 +12,7 @@ class CommentHelperTest < ActiveSupport::TestCase self.stubs(:logged_in?).returns(true) self.stubs(:report_abuse).returns('link') self.stubs(:expirable_comment_link).returns('link') - @plugins = [] + @plugins = mock @plugins.stubs(:dispatch).returns([]) end -- libgit2 0.21.2