From dc161eb73cd7a064b9b19cceea69008d3d86f3f8 Mon Sep 17 00:00:00 2001 From: Braulio Bhavamitra Date: Sat, 21 Nov 2015 09:44:12 -0300 Subject: [PATCH] rails4: mv assert_not_include{,s} --- plugins/environment_notification/test/unit/environment_notification_helper_test.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/environment_notification/test/unit/environment_notification_helper_test.rb b/plugins/environment_notification/test/unit/environment_notification_helper_test.rb index aada279..6d6bb88 100644 --- a/plugins/environment_notification/test/unit/environment_notification_helper_test.rb +++ b/plugins/environment_notification/test/unit/environment_notification_helper_test.rb @@ -1,4 +1,4 @@ -require_relative '../../../../test/test_helper' +require 'test_helper' class EnvironmentNotificationHelperTest < ActiveSupport::TestCase def setup @@ -23,7 +23,7 @@ class EnvironmentNotificationHelperTest < ActiveSupport::TestCase new_message = EnvironmentNotificationHelper.substitute_variables(message, nil) assert_equal message, new_message - assert_not_include new_message, "user@domain.com" + assert_not_includes new_message, "user@domain.com" end should 'substitute all name variables to the current user name' do @@ -41,6 +41,6 @@ class EnvironmentNotificationHelperTest < ActiveSupport::TestCase new_message = EnvironmentNotificationHelper.substitute_variables(message, nil) assert_equal message, new_message - assert_not_include new_message, "UserName" + assert_not_includes new_message, "UserName" end -end \ No newline at end of file +end -- libgit2 0.21.2