Commit 4b5c732d0f32c7f329acf64533c21af94700b4f3
1 parent
8819b7eb
Exists in
master
and in
1 other branch
Fix test
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
test/functional/gamification_plugin_profile_controller_test.rb
@@ -33,7 +33,7 @@ class GamificationPluginProfileControllerTest < ActionController::TestCase | @@ -33,7 +33,7 @@ class GamificationPluginProfileControllerTest < ActionController::TestCase | ||
33 | person.add_badge(badge1.id) | 33 | person.add_badge(badge1.id) |
34 | person.add_badge(badge2.id) | 34 | person.add_badge(badge2.id) |
35 | get :dashboard, :profile => person.identifier | 35 | get :dashboard, :profile => person.identifier |
36 | - assert_select '.badges .badge-list .badge', 2 | 36 | + assert_select '.badges .badge-list .badge', 1 |
37 | end | 37 | end |
38 | 38 | ||
39 | end | 39 | end |