thoughtbot--shoulda-matchers/spec/support/unit/helpers
Elliot Winkler 1b0a36a3ab Define attrs in a module when building AM models in tests
When a developer builds an ActiveModel model and wants to override an
attribute, she may do so using `super` to call the original method. For
instance:

    def foo=(value)
      super(value.next)
    end

as opposed to:

    def foo=(value)
      @foo = value.next
    end
2015-12-30 21:58:51 -05:00
..
active_model_helpers.rb Handle RangeErrors emitted now in ActiveRecord 4.2 2015-01-22 21:05:09 -07:00
active_model_versions.rb Handle RangeErrors emitted now in ActiveRecord 4.2 2015-01-22 21:05:09 -07:00
active_record_versions.rb Stop handling AR RangeError when assign a attribute 2015-09-23 15:46:32 -06:00
active_resource_builder.rb Reorganize unit tests, part II 2014-11-05 09:53:20 -07:00
allow_value_matcher_helpers.rb Reorganize unit tests, part II 2014-11-05 09:53:20 -07:00
class_builder.rb Rewrite the tests for #permit 2015-02-28 23:41:01 -07:00
column_type_helpers.rb Add support for Postgres 2015-02-12 16:01:00 -07:00
confirmation_matcher_helpers.rb Reorganize unit tests, part II 2014-11-05 09:53:20 -07:00
controller_builder.rb Rewrite the tests for #permit 2015-02-28 23:41:01 -07:00
database_helpers.rb Uniqueness: Support PG array columns for scopes 2015-02-13 16:33:26 -07:00
i18n_faker.rb Reorganize unit tests, part II 2014-11-05 09:53:20 -07:00
mailer_builder.rb Reorganize unit tests, part II 2014-11-05 09:53:20 -07:00
model_builder.rb Define attrs in a module when building AM models in tests 2015-12-30 21:58:51 -05:00
rails_versions.rb Fix failure message for numericality matcher 2015-06-01 01:38:35 -06:00