Commit Graph

6 Commits

Author SHA1 Message Date
Alejandro Gutiérrez d49cfcae1b Adding support to allow_nil option for delegate_method matcher 2018-01-24 02:22:19 -06:00
Aditya Kapoor 18201d4f95 Add with_prefix to delegate_method
Secondary author: Elliot Winkler <elliot.winkler@gmail.com>
2014-12-15 22:38:27 -07:00
Elliot Winkler f82d4eeedd Improve certain names of tests for delegate_method 2014-12-14 23:35:30 -07:00
Elliot Winkler 1694c7bcb9 Rename vars in delegate_method to match terminology in docs 2014-12-13 19:08:25 -05:00
Elliot Winkler f922613386 Reorganize unit tests, part II
* Change 'spec' Rake task to 'spec:unit'
* Require unit_spec_helper.rb in unit tests, not spec_helper.rb
* Re-namespace files in spec/support/unit under UnitTests
* Files in spec/support/unit/helpers no longer automatically add
  themselves to RSpec - this happens in unit_spec_helper.rb
* Extract RecordWithDifferentErrorAttributeBuilder and
  RecordValidatingConfirmationBuilder to separate files
2014-11-05 09:53:20 -07:00
Elliot Winkler bbdf8a807e Reorganize unit tests, part I
* Move spec/shoulda to spec/unit_tests/shoulda
* Move spec/support/*.rb to spec/support/unit_tests/{helpers,matchers}
* Move spec_helper.rb to unit_spec_helper.rb
2014-11-04 14:43:59 -07:00