[Git][noosfero/noosfero][master] rails4: mv assert_not_include{,s}

Bráulio Bhavamitra gitlab at mg.gitlab.com
Sat Nov 21 10:45:01 BRST 2015


Bráulio Bhavamitra pushed to branch master at Noosfero / noosfero


Commits:
dc161eb7 by Braulio Bhavamitra at 2015-11-21T09:44:12Z
rails4: mv assert_not_include{,s}

- - - - -


1 changed file:

- plugins/environment_notification/test/unit/environment_notification_helper_test.rb


Changes:

=====================================
plugins/environment_notification/test/unit/environment_notification_helper_test.rb
=====================================
--- 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 at domain.com"
+    assert_not_includes new_message, "user at 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



View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/dc161eb73cd7a064b9b19cceea69008d3d86f3f8
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20151121/ac7ed909/attachment.html>


More information about the Noosfero-dev mailing list