aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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