Files
danbooru/test/unit
evazion ff6e640fcb tests: add normalize_attribute helper method.
Add a custom Shoulda matcher for testing that a model correctly normalizes an attribute.

Usage:

    subject { build(:wiki_page) }
    should normalize_attribute(:title).from(" Azur  Lane ").to("azur_lane")
2021-01-10 02:03:12 -06:00
..
2020-11-10 14:52:54 -06:00
2020-03-21 21:07:35 -05:00
2020-07-13 19:30:40 -05:00
2020-12-16 13:53:16 +01:00
2020-03-20 18:03:00 -05:00
2020-06-20 00:20:39 -05:00
2020-04-21 00:31:16 -05:00
2020-03-21 21:07:35 -05:00
2020-03-21 21:07:35 -05:00
2020-02-23 17:52:38 -06:00