Commit c0e7135252d3e248944e8fe2eb9738dc6c6334bd
1 parent
65f47c6a
Exists in
master
and in
22 other branches
Noosfero::Plugin::Context does not exist anymore
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
plugins/require_auth_to_comment/test/unit/require_auth_to_comment_plugin_test.rb
| ... | ... | @@ -35,7 +35,7 @@ class RequireAuthToCommentPluginTest < ActiveSupport::TestCase |
| 35 | 35 | controller = mock() |
| 36 | 36 | controller.stubs(:logged_in?).returns(boolean) |
| 37 | 37 | controller.stubs(:profile).returns(Profile.new) |
| 38 | - Noosfero::Plugin::Context.new(controller) | |
| 38 | + controller | |
| 39 | 39 | end |
| 40 | 40 | |
| 41 | 41 | end | ... | ... |