af98a23091
Why: * Currently, our matchers are mixed into every example group under RSpec. * This creates a problem because some gems, such as active_model_serializers-matchers, provide matchers that are named the same as the ones that we provide. To satisfy the above: * Only mix matchers that correspond to a particular Rails module into the appropriate example group for that module. In detail: * Mix ActiveModel and ActiveRecord matchers into model example groups. * Mix ActionController matchers into controller example groups. |
||
---|---|---|
.. | ||
matchers | ||
matchers.rb |