Commit c0e7135252d3e248944e8fe2eb9738dc6c6334bd

Authored by Antonio Terceiro
1 parent 65f47c6a

Noosfero::Plugin::Context does not exist anymore

plugins/require_auth_to_comment/test/unit/require_auth_to_comment_plugin_test.rb
@@ -35,7 +35,7 @@ class RequireAuthToCommentPluginTest < ActiveSupport::TestCase @@ -35,7 +35,7 @@ class RequireAuthToCommentPluginTest < ActiveSupport::TestCase
35 controller = mock() 35 controller = mock()
36 controller.stubs(:logged_in?).returns(boolean) 36 controller.stubs(:logged_in?).returns(boolean)
37 controller.stubs(:profile).returns(Profile.new) 37 controller.stubs(:profile).returns(Profile.new)
38 - Noosfero::Plugin::Context.new(controller) 38 + controller
39 end 39 end
40 40
41 end 41 end