aboutsummaryrefslogtreecommitdiffstats
path: root/guides/bug_report_templates
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-11-11 12:35:55 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-11-11 12:35:55 +0900
commit44bee7f242da1df49a31416b762e0a03467ae2bb (patch)
tree73e8dae30a65d8fc33f05149d0a2dc52861b59cc /guides/bug_report_templates
parentab5d5c95ec51c63d58d7e75694af748f165e2228 (diff)
downloadrails-44bee7f242da1df49a31416b762e0a03467ae2bb.tar.gz
rails-44bee7f242da1df49a31416b762e0a03467ae2bb.tar.bz2
rails-44bee7f242da1df49a31416b762e0a03467ae2bb.zip
Revert "Merge pull request #34421 from albertoalmagro/use-assert-not-instead-of-refute"
This reverts commit ab5d5c95ec51c63d58d7e75694af748f165e2228, reversing changes made to ef4f5ef69b5a50c897bbb17f6b36b729dff12e6c.
Diffstat (limited to 'guides/bug_report_templates')
-rw-r--r--guides/bug_report_templates/generic_gem.rb2
-rw-r--r--guides/bug_report_templates/generic_master.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/guides/bug_report_templates/generic_gem.rb b/guides/bug_report_templates/generic_gem.rb
index 3ef69e6775..3fd54437f7 100644
--- a/guides/bug_report_templates/generic_gem.rb
+++ b/guides/bug_report_templates/generic_gem.rb
@@ -18,6 +18,6 @@ require "minitest/autorun"
class BugTest < Minitest::Test
def test_stuff
assert "zomg".present?
- assert_not "".present?
+ refute "".present?
end
end
diff --git a/guides/bug_report_templates/generic_master.rb b/guides/bug_report_templates/generic_master.rb
index 63b1ef3287..ec65fee292 100644
--- a/guides/bug_report_templates/generic_master.rb
+++ b/guides/bug_report_templates/generic_master.rb
@@ -17,6 +17,6 @@ require "minitest/autorun"
class BugTest < Minitest::Test
def test_stuff
assert "zomg".present?
- assert_not "".present?
+ refute "".present?
end
end