Skip to content

Commit b184706

Browse files
committed
Use assert_not in bug report template TestCase
`assert_not` is preferred instead of `refute`, according to the Rails Guide: https://edgeguides.rubyonrails.org/contributing_to_ruby_on_rails.html#follow-the-coding-conventions
1 parent c1689d8 commit b184706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/bug_report_templates/generic.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
class BugTest < ActiveSupport::TestCase
1818
def test_stuff
1919
assert "zomg".present?
20-
refute "".present?
20+
assert_not "".present?
2121
end
2222
end

0 commit comments

Comments
 (0)