Skip to content

Commit 908e5ba

Browse files
committed
test: require each reminder method name in full
The check searched for an opening backtick and the name, so unschedule_all also satisfied unschedule, and reminders satisfied reminder. The check now includes the closing backtick.
1 parent 98c0d23 commit 908e5ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/unit/reminder_documents_test.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def guide(path)
1313
test "the reminder guide names each public reminder method of an actor" do
1414
REMINDER_METHODS.each do |method|
1515
assert SolidObjects::Actor.public_method_defined?(method), "SolidObjects::Actor has no public #{method}"
16-
assert_includes guide("docs/reminders.md"), "`#{method}", "docs/reminders.md does not name #{method}"
16+
assert_includes guide("docs/reminders.md"), "`#{method}`", "docs/reminders.md does not name #{method}"
1717
end
1818
end
1919

0 commit comments

Comments
 (0)