From 781e93a427513c94cbaf97574a28fea397a3d16d Mon Sep 17 00:00:00 2001 From: Leandro Nunes dos Santos Date: Thu, 15 Oct 2015 19:55:08 -0300 Subject: [PATCH] fixing functional tets --- test/functional/gamification_plugin_badges_controller_test.rb | 2 +- test/functional/gamification_plugin_points_controller_test.rb | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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