1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00
thoughtbot--shoulda-matchers/spec/support/unit
Elliot Winkler 3dbf2e5646 Rails 5: Fix built-in-test custom models w/ attrs
When a model was built in a unit test and it was configured to have
attributes, when those attributes are set later, the test would blow up
because we were not using `write_attribute` correctly.
2017-09-17 17:01:50 -05:00
..
active_record CreateTable supports all PG-specific columns even under Rails 4.0 2016-01-10 00:10:25 -07:00
create_model_arguments Extract classes for defining models in tests 2016-01-05 00:58:16 -07:00
helpers Remove typo 2017-09-17 17:01:50 -05:00
matchers fail_with_message(_including): Tweak failure messages 2015-12-30 22:03:29 -05:00
model_creation_strategies Don't protect attributes under Rails 5 2017-09-17 17:01:50 -05:00
model_creators Rails 5: Fix built-in-test custom models w/ attrs 2017-09-17 17:01:50 -05:00
shared_examples Enable ignoring_interference_by_writer by default 2016-01-05 00:58:17 -07:00
attribute.rb Extract classes for defining models in tests 2016-01-05 00:58:16 -07:00
capture.rb capture, silence_stream, and silence_stderr were removed in Rails 5 2017-09-17 17:01:50 -05:00
change_value.rb Extract classes for defining models in tests 2016-01-05 00:58:16 -07:00
i18n.rb Reorganize unit tests, part I 2014-11-04 14:43:59 -07:00
load_environment.rb Speed up running unit tests with Zeus 2015-12-13 20:22:21 -07:00
model_creators.rb Extract classes for defining models in tests 2016-01-05 00:58:16 -07:00
rails_application.rb Do not apply .railsrc 2016-01-06 10:21:43 -07:00
record_builder_with_i18n_validation_message.rb Reorganize unit tests, part II 2014-11-05 09:53:20 -07:00
record_validating_confirmation_builder.rb confirmation: Refactor to use AttributeSetter 2015-12-30 21:37:14 -05:00
record_with_different_error_attribute_builder.rb Fix warning for this file 2014-12-16 20:21:22 -07:00
validation_matcher_scenario.rb Add ValidationMatcherScenario for use in tests 2016-01-05 00:58:16 -07:00