thoughtbot--shoulda-matchers/spec
Elliot Winkler a9ab35117b Ensure that we are req'd after rspec in tests
Currently before running unit tests we are getting auto-required before
rspec-rails is getting required. This is bad because we need to wait
until rspec-rails is loaded before injecting Shoulda::Matchers::* into
the current RSpec context, otherwise matchers that clash with
rspec-rails (such as `render_template` will get overridden).

This is happening when creating and booting the Rails application.
Bundler will auto-require any gems in the Gemfile. One of these gems is
ourselves (via the `gemspec` line). Since there aren't any dependencies
in the gemspec, there's no need for us to be in the Gemfile.

This means that we no longer have to explicit `include` Rails
ActionController template assertions in the tests for `render_template`
as they should get included automatically for us.
2014-12-25 00:44:54 -05:00
..
acceptance Clean up acceptance tests a bit 2014-11-05 16:39:08 -07:00
support Improve failure messages for failure message matchers 2014-12-16 20:31:31 -07:00
unit/shoulda/matchers Ensure that we are req'd after rspec in tests 2014-12-25 00:44:54 -05:00
warnings_spy Be better about looking for warnings on Travis 2014-12-16 20:30:05 -07:00
acceptance_spec_helper.rb Run tests in a random order 2014-11-06 14:16:51 -07:00
report_warnings.rb Remove all Ruby-emitted warnings 2014-07-18 18:00:08 -06:00
unit_spec_helper.rb Ensure that we are req'd after rspec in tests 2014-12-25 00:44:54 -05:00
warnings_spy.rb Remove all Ruby-emitted warnings 2014-07-18 18:00:08 -06:00