diff --git a/test/functional/gamification_plugin_badges_controller_test.rb b/test/functional/gamification_plugin_badges_controller_test.rb index 719f48d..42e3de3 100644 --- a/test/functional/gamification_plugin_badges_controller_test.rb +++ b/test/functional/gamification_plugin_badges_controller_test.rb @@ -1,4 +1,4 @@ -require 'test_helper' +require_relative "../test_helper" class GamificationPluginBadgesControllerTest < ActionController::TestCase diff --git a/test/functional/gamification_plugin_points_controller_test.rb b/test/functional/gamification_plugin_points_controller_test.rb index c4cd85f..391b6b1 100644 --- a/test/functional/gamification_plugin_points_controller_test.rb +++ b/test/functional/gamification_plugin_points_controller_test.rb @@ -1,4 +1,4 @@ -require 'test_helper' +require_relative "../test_helper" class GamificationPluginPointsControllerTest < ActionController::TestCase @@ -23,7 +23,6 @@ class GamificationPluginPointsControllerTest < ActionController::TestCase end should "should create gamification_plugin_point_categorizations for general rules" do - create_all_point_rules count = GamificationPlugin::PointsType.count assert_difference('GamificationPlugin::PointsCategorization.count', count) do post :create, identifier: '' -- libgit2 0.21.2