From 5b0ecadc096feced8d182083c39b3c8fce7c1769 Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Sun, 26 Jul 2015 11:06:59 -0300 Subject: [PATCH] Fix test --- test/functional/gamification_plugin_profile_controller_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/gamification_plugin_profile_controller_test.rb b/test/functional/gamification_plugin_profile_controller_test.rb index cbed8d9..eb324ce 100644 --- a/test/functional/gamification_plugin_profile_controller_test.rb +++ b/test/functional/gamification_plugin_profile_controller_test.rb @@ -14,8 +14,8 @@ class GamificationPluginProfileControllerTest < ActionController::TestCase person.add_points(20, :category => :comment_author) person.add_points(30, :category => :article_author) get :dashboard, :profile => person.identifier - assert_tag :div, :attributes => {:class => 'score article_author'}, :child => {:tag => 'span', :attributes => {:class => 'value'}, :content => '30'} - assert_tag :div, :attributes => {:class => 'score comment_author'}, :child => {:tag => 'span', :attributes => {:class => 'value'}, :content => '20'} + assert_tag :div, :attributes => {:class => 'score article_author'}, :child => {:tag => 'span', :attributes => {:class => 'value positive'}, :content => '30'} + assert_tag :div, :attributes => {:class => 'score comment_author'}, :child => {:tag => 'span', :attributes => {:class => 'value positive'}, :content => '20'} assert_tag :div, :attributes => {:class => 'score total'}, :child => {:tag => 'span', :attributes => {:class => 'value'}, :content => '50'} end -- libgit2 0.21.2