1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00
Commit graph

18 commits

Author SHA1 Message Date
Elliot Winkler
03977d1bb0 Use pry-nav for more debugging awesomeness 2015-01-22 19:27:52 -07:00
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
Elliot Winkler
c432a8c899 Remove Cucumber tests 2014-11-05 09:53:51 -07:00
Elliot Winkler
a009c83943 Upgrade to appraisal 1.0.2 2014-10-22 00:16:26 -06:00
Pedro Nascimento
1f24f04da3 Using RSpec 3 for development. 2014-08-14 12:16:54 -04:00
Elliot Winkler
4d8faed1c4 Generate docs using YARD 2014-06-20 16:41:32 -06:00
Elliot Winkler
ed428417a3 Move dev dependencies to Gemfile
Currently some dev dependencies are in the Gemfile, and some are in the
gemspec. The dependencies in the Gemfile are there because they are
using Bundler-specific options, so there is a legitimate reason for them
to be there, however, it's confusing to have gems in two places. So the
common denominator is to have them in the Gemfile.
2014-06-19 22:24:29 -06:00
Mauro George
714cf87d78 Add support to rails 4.1.0 2014-04-08 17:41:31 -03:00
Elliot Winkler
630dc2212d Bump shoulda-context to ~>1.1.2 for Rails 4 compat 2013-08-16 15:32:08 -06:00
vfrride
2edf5a3d27 Uses secure RubyGems URL 2013-02-27 22:05:15 -05:00
Gabe Berke-Williams
cd1d68ef00 get jruby passing 2012-04-13 10:11:42 -04:00
Gabe Berke-Williams
26fb35aae9 Use Bundler gem conventions.
Use stable version of shoulda-context. Remove rdoc-related code.
2011-11-11 20:13:03 -05:00
Prem Sichanugrist
6785f596b4 Update Gem configuration for Ruby 1.9.3 and JRuby 2011-09-18 21:39:18 +07:00
Prem Sichanugrist
44847c6a87 Add Appraisals to the project to handle testing against multiple Rails version
Note that we also bump RSpec to 2.6.1.beta1 because the incompatibility with Rails 3.1.0.rc1
2011-05-25 14:59:01 -04:00
Ryan McGeary
9c9580c55b Moved dependencies from the Gemfile to the gemspec
* The Gemfile now contains just the source and a single `gemspec` declaration
* See http://yehudakatz.com/2010/12/16/clarifying-the-roles-of-the-gemspec-and-gemfile/

* Also had to break out the modules under integrations/rspec into their nested equivalents (load order?)
2011-01-31 16:45:13 -05:00
Joe Ferris
ecb01a209d Got cucumber features passing with aruba and extracted context framework 2010-12-15 14:24:05 -05:00
Joe Ferris
4ee78bfe99 Fixes for Rails 3.0.3 and RSpec 2.3 2010-12-14 18:35:12 -05:00
Joe Ferris
6aca71765a Extracted the context framework, switched to rspec 2010-12-14 17:02:03 -05:00