paper-trail-gem--paper_trail/spec
Esteban Pastorino 60847d6d5d Update rspec matcher to work with custom version association names
`have_a_version_with` and `have_a_version_with_changes` had the
`versions` association call hardcoded.
If `has_paper_trail` had the `versions` option set to something else
(e.g: `has_paper_trail versions: :paper_trail_versions`) the matcher
couldn't be used.

This fixes that issue by dynamically fetching the association name from
the `:versions_association_name` class attribute.
2017-02-07 10:26:17 +01:00
..
controllers Convert first controller test to rspec 2016-12-04 22:17:06 -05:00
generators Set MySQL collation: versions tbl: utf8mb4_general_ci 2016-03-31 16:24:11 -04:00
models Update rspec matcher to work with custom version association names 2017-02-07 10:26:17 +01:00
modules rubocop 0.41.1 (was 0.40.0) 2016-06-27 03:02:33 -04:00
paper_trail Drop tests for arel < 6 2017-02-05 19:54:03 -05:00
requests Fix Style/StringLiterals: Use double quotes 2016-03-05 17:07:32 -05:00
support Fix Style/StringLiterals: Use double quotes 2016-03-05 17:07:32 -05:00
paper_trail_spec.rb Move test/paper_trail_test.rb to rspec 2016-08-22 00:40:55 -04:00
rails_helper.rb Remove tests which duplicate db structure 2016-08-22 00:40:55 -04:00
spec_helper.rb Fix Style/StringLiterals: Use double quotes 2016-03-05 17:07:32 -05:00