From 4b5c732d0f32c7f329acf64533c21af94700b4f3 Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Mon, 17 Aug 2015 16:29:37 -0300 Subject: [PATCH] Fix test --- test/functional/gamification_plugin_profile_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/gamification_plugin_profile_controller_test.rb b/test/functional/gamification_plugin_profile_controller_test.rb index 8b8938c..3bbfd25 100644 --- a/test/functional/gamification_plugin_profile_controller_test.rb +++ b/test/functional/gamification_plugin_profile_controller_test.rb @@ -33,7 +33,7 @@ class GamificationPluginProfileControllerTest < ActionController::TestCase person.add_badge(badge1.id) person.add_badge(badge2.id) get :dashboard, :profile => person.identifier - assert_select '.badges .badge-list .badge', 2 + assert_select '.badges .badge-list .badge', 1 end end -- libgit2 0.21.2