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
Elliot Winkler e0a0200fe4 Make independent matchers really independent
Why:

* When `delegate_method` was modified a while back to add Doublespeak
  and use MatcherContext, Shoulda::Matchers::Independent became unable
  to be required independently.

To satisfy the above:

* Require Doublespeak and MatcherContext within
  `delegate_method_matcher.rb`.
* Add an acceptance test to ensure that Independent stays independent.

Secondary-Author: jc00ke <jesse@jc00ke.com>
2015-10-01 10:12:17 -06:00
Elliot Winkler ab91bbf123 Use generic test framework for independent matchers test 2015-02-09 10:52:51 -07:00
Elliot Winkler 190007155e Remove auto-detection of Rails / test framework 2015-02-09 10:52:51 -07:00
Elliot Winkler 0da09b2132 Clean up acceptance tests a bit 2014-11-05 16:39:08 -07:00
Elliot Winkler 3fb4cdb3b7 Add new RSpec acceptance tests to replace Cucumber 2014-11-05 09:53:33 -07:00