Skip to content

Commit b0ea504

Browse files
committed
[ci skip] update testing guide to use assert_not instead of refute.
1 parent ff42150 commit b0ea504

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2224,7 +2224,7 @@ class BillingJobTest < ActiveJob::TestCase
22242224
assert_raises(InsufficientFundsError) do
22252225
BillingJob.new(empty_account, product).perform
22262226
end
2227-
refute account.reload.charged_for?(product)
2227+
assert_not account.reload.charged_for?(product)
22282228
end
22292229
end
22302230
```

0 commit comments

Comments
 (0)