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/lib/shoulda/matchers/integrations
Elliot Winkler 8cf449b4ca Add a new Routing module
Why:

* The `route` matcher can not only be used within controller example
  groups but also routing example groups.
* Now that we are mixing matchers into specific example groups, `route`
  is no longer available in routing example groups.

To satisfy the above:

* Create a new module that contains a `route` method and returns a new
  instance of RouteMatcher. (RouteMatcher still lives in the
  ActionController namespace.)
* Mix this module into routing example groups when the gem configuration
  block is run.
2015-09-25 17:45:33 -06:00
..
libraries Add a new Routing module 2015-09-25 17:45:33 -06:00
test_frameworks Mix into corresponding RSpec example groups 2015-09-25 17:45:27 -06:00
configuration.rb Allow the use of matchers from multiple libs, for non rails projects. 2015-06-01 00:43:07 -06:00
configuration_error.rb Omit newest private modules from docs 2015-03-01 01:20:45 -07:00
inclusion.rb Omit newest private modules from docs 2015-03-01 01:20:45 -07:00
libraries.rb Add a new Routing module 2015-09-25 17:45:33 -06:00
rails.rb Omit newest private modules from docs 2015-03-01 01:20:45 -07:00
registry.rb Omit newest private modules from docs 2015-03-01 01:20:45 -07:00
test_frameworks.rb Omit newest private modules from docs 2015-03-01 01:20:45 -07:00