Commit dc161eb73cd7a064b9b19cceea69008d3d86f3f8

Authored by Braulio Bhavamitra
1 parent 3d1c948f

rails4: mv assert_not_include{,s}

plugins/environment_notification/test/unit/environment_notification_helper_test.rb
1   -require_relative '../../../../test/test_helper'
  1 +require 'test_helper'
2 2  
3 3 class EnvironmentNotificationHelperTest < ActiveSupport::TestCase
4 4 def setup
... ... @@ -23,7 +23,7 @@ class EnvironmentNotificationHelperTest &lt; ActiveSupport::TestCase
23 23 new_message = EnvironmentNotificationHelper.substitute_variables(message, nil)
24 24  
25 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 27 end
28 28  
29 29 should 'substitute all name variables to the current user name' do
... ... @@ -41,6 +41,6 @@ class EnvironmentNotificationHelperTest &lt; ActiveSupport::TestCase
41 41 new_message = EnvironmentNotificationHelper.substitute_variables(message, nil)
42 42  
43 43 assert_equal message, new_message
44   - assert_not_include new_message, "UserName"
  44 + assert_not_includes new_message, "UserName"
45 45 end
46   -end
47 46 \ No newline at end of file
  47 +end
... ...