[openstreetmap/openstreetmap-website] Prefer keyword arguments when method has optional boolean arguments (#2955)

Tom Hughes notifications at github.com
Wed Nov 11 16:48:47 UTC 2020


Looks like you missed something:

```
Error:
DiaryEntryTest#test_diary_entry_validations:
ArgumentError: wrong number of arguments (given 2, expected 1)
    test/models/diary_entry_test.rb:51:in `diary_entry_valid'
    test/models/diary_entry_test.rb:13:in `test_diary_entry_validations'


rails test test/models/diary_entry_test.rb:9
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2955#issuecomment-725533523
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20201111/056e89be/attachment.htm>


More information about the rails-dev mailing list