Commit dc161eb73cd7a064b9b19cceea69008d3d86f3f8
1 parent
3d1c948f
Exists in
master
and in
20 other branches
rails4: mv assert_not_include{,s}
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
plugins/environment_notification/test/unit/environment_notification_helper_test.rb
1 | -require_relative '../../../../test/test_helper' | 1 | +require 'test_helper' |
2 | 2 | ||
3 | class EnvironmentNotificationHelperTest < ActiveSupport::TestCase | 3 | class EnvironmentNotificationHelperTest < ActiveSupport::TestCase |
4 | def setup | 4 | def setup |
@@ -23,7 +23,7 @@ class EnvironmentNotificationHelperTest < ActiveSupport::TestCase | @@ -23,7 +23,7 @@ class EnvironmentNotificationHelperTest < ActiveSupport::TestCase | ||
23 | new_message = EnvironmentNotificationHelper.substitute_variables(message, nil) | 23 | new_message = EnvironmentNotificationHelper.substitute_variables(message, nil) |
24 | 24 | ||
25 | assert_equal message, new_message | 25 | assert_equal message, new_message |
26 | - assert_not_include new_message, "user@domain.com" | 26 | + assert_not_includes new_message, "user@domain.com" |
27 | end | 27 | end |
28 | 28 | ||
29 | should 'substitute all name variables to the current user name' do | 29 | should 'substitute all name variables to the current user name' do |
@@ -41,6 +41,6 @@ class EnvironmentNotificationHelperTest < ActiveSupport::TestCase | @@ -41,6 +41,6 @@ class EnvironmentNotificationHelperTest < ActiveSupport::TestCase | ||
41 | new_message = EnvironmentNotificationHelper.substitute_variables(message, nil) | 41 | new_message = EnvironmentNotificationHelper.substitute_variables(message, nil) |
42 | 42 | ||
43 | assert_equal message, new_message | 43 | assert_equal message, new_message |
44 | - assert_not_include new_message, "UserName" | 44 | + assert_not_includes new_message, "UserName" |
45 | end | 45 | end |
46 | -end | ||
47 | \ No newline at end of file | 46 | \ No newline at end of file |
47 | +end |