Commit 781e93a427513c94cbaf97574a28fea397a3d16d

Authored by Leandro Santos
1 parent b6df7d11

fixing functional tets

test/functional/gamification_plugin_badges_controller_test.rb
1   -require 'test_helper'
  1 +require_relative "../test_helper"
2 2  
3 3 class GamificationPluginBadgesControllerTest < ActionController::TestCase
4 4  
... ...
test/functional/gamification_plugin_points_controller_test.rb
1   -require 'test_helper'
  1 +require_relative "../test_helper"
2 2  
3 3 class GamificationPluginPointsControllerTest < ActionController::TestCase
4 4  
... ... @@ -23,7 +23,6 @@ class GamificationPluginPointsControllerTest &lt; ActionController::TestCase
23 23 end
24 24  
25 25 should "should create gamification_plugin_point_categorizations for general rules" do
26   - create_all_point_rules
27 26 count = GamificationPlugin::PointsType.count
28 27 assert_difference('GamificationPlugin::PointsCategorization.count', count) do
29 28 post :create, identifier: ''
... ...