Commit 781e93a427513c94cbaf97574a28fea397a3d16d
1 parent
b6df7d11
Exists in
master
and in
1 other branch
fixing functional tets
Showing
2 changed files
with
2 additions
and
3 deletions
Show diff stats
test/functional/gamification_plugin_badges_controller_test.rb
test/functional/gamification_plugin_points_controller_test.rb
1 | -require 'test_helper' | 1 | +require_relative "../test_helper" |
2 | 2 | ||
3 | class GamificationPluginPointsControllerTest < ActionController::TestCase | 3 | class GamificationPluginPointsControllerTest < ActionController::TestCase |
4 | 4 | ||
@@ -23,7 +23,6 @@ class GamificationPluginPointsControllerTest < ActionController::TestCase | @@ -23,7 +23,6 @@ class GamificationPluginPointsControllerTest < ActionController::TestCase | ||
23 | end | 23 | end |
24 | 24 | ||
25 | should "should create gamification_plugin_point_categorizations for general rules" do | 25 | should "should create gamification_plugin_point_categorizations for general rules" do |
26 | - create_all_point_rules | ||
27 | count = GamificationPlugin::PointsType.count | 26 | count = GamificationPlugin::PointsType.count |
28 | assert_difference('GamificationPlugin::PointsCategorization.count', count) do | 27 | assert_difference('GamificationPlugin::PointsCategorization.count', count) do |
29 | post :create, identifier: '' | 28 | post :create, identifier: '' |