Commit 2e816a38d87a5efe4e0bdd6427dcc6dc720cf2c2
1 parent
869128a0
Exists in
master
and in
28 other branches
ActionItem36: minor change to controller to NoosferoTest
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1481 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
1 additions
and
5 deletions
Show diff stats
test/functional/friends_controller_test.rb
@@ -5,11 +5,7 @@ class FriendsController; def rescue_action(e) raise e end; end | @@ -5,11 +5,7 @@ class FriendsController; def rescue_action(e) raise e end; end | ||
5 | 5 | ||
6 | class FriendsControllerTest < Test::Unit::TestCase | 6 | class FriendsControllerTest < Test::Unit::TestCase |
7 | 7 | ||
8 | - include NoosferoTest | ||
9 | - | ||
10 | - def self.extra_parameters | ||
11 | - { :profile => 'testuser' } | ||
12 | - end | 8 | + noosfero_test :profile => 'testuser' |
13 | 9 | ||
14 | def setup | 10 | def setup |
15 | @controller = FriendsController.new | 11 | @controller = FriendsController.new |