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

28 commits

Author SHA1 Message Date
Melissa Xie
3ec4c0094f Remove 'assign_to' matcher
* See issue #252
2013-04-03 13:08:27 -04:00
Ben Atkins
b3232e0966 Require 'rspec/core' instead of 'rspec' in RSpec integration file
* See discussions in #248 and #259
2013-03-21 13:57:02 -04:00
Melissa Xie
aa971b23e7 Add rspec gem to Cucumber definitions 2013-03-19 16:56:50 -04:00
Dan Croak
b79360441d Loosen Bourne dependency to ~> 1.3
> Use a pessimistic version in the Gemfile for gems that follow semantic
> versioning, such as rspec, factory_girl, and capybara.

https://github.com/thoughtbot/guides/tree/master/best-practices

* Upgrade dependencies so specs run on new Bourne.
* Use semantic versions in step_definitions gems.
* Rely on ActiveSupport::Dependencies.clear for reloading constants.
  http://rkh.im/code-reloading
2013-03-18 23:31:11 -07:00
Gabe Berke-Williams
af8f9a7bff Use current thoughtbot style in specs 2012-12-26 22:45:54 -05:00
Mike Burns
f185e3d9d0 Mix RSpec with Test::Unit
An edge case occurs when mixing RSpec and Test::Unit tests and also
loading both the 'rspec-rails' gem and 'shoulda-matchers' gem from the
same Gemfile group, namely [:test, :development] . Work around this by
always inserting the shoulda matchers into Test::Unit, regardless of
whether RSpec is loaded.
2012-07-11 12:17:04 +02:00
Gabe Berke-Williams
4fdb82707c Use correct version of RSpec in generated Rails app. 2012-04-21 20:48:45 -04:00
Gabe Berke-Williams
457be629ab Clean up cucumber. 2012-04-10 22:50:55 -04:00
Gabe Berke-Williams
ac56a1aefd Update gems in generated rails app. 2012-04-10 22:50:55 -04:00
Luca Guidi
195673659b Bumped to latest dependencies 2012-03-20 11:49:01 -04:00
Gabe Berke-Williams
22740fd956 Generated rails app no longer requires a JS runtime. 2011-11-01 20:56:33 -04:00
Prem Sichanugrist
6785f596b4 Update Gem configuration for Ruby 1.9.3 and JRuby 2011-09-18 21:39:18 +07:00
Prem Sichanugrist
4a97d9dd9f [Travis] Update build configuration 2011-09-18 21:37:55 +07:00
Prem Sichanugrist
94aacd8fd0 Do not append the path to Gemfile if path is already appended 2011-09-12 17:25:52 +07:00
Prem Sichanugrist
f1c8b80523 Go back and use bundle install --local, but specify additional dependencies in Appraisal file. 2011-05-30 16:14:06 -04:00
Prem Sichanugrist
b45b553759 Do not use bundle install --local since Rails 3.1.0.rc1 has so many external dependency 2011-05-30 16:05:01 -04:00
Prem Sichanugrist
92db63c0a3 Make sure cucumber step is compatible with Ruby 1.8.7
Hash#select in Ruby 1.8.7 returns the array instead of Hash. Wrap them in Hash.[] will returns the hash we're looking for.
2011-05-30 15:54:05 -04:00
Prem Sichanugrist
6d51e15151 Extend timeout to 30 seconds.
Oh boy, Ruby 1.9 is slow.
2011-05-29 23:36:20 -04:00
Prem Sichanugrist
3c948de243 Fix bug on hardcoded BUNDLE_GEMDIR by mistake 2011-05-27 17:23:24 -04:00
Prem Sichanugrist
7954c7d829 Add another step to comment out TURN in the Gemfile
Rails 3.1 comes with TURN, which prettified the output. We don't want that, as it doesn't work well with Aruba.
2011-05-25 15:35:36 -04: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
4cce6ba131 Upped the aruba_timeout from 1 to 15 seconds
* Helps avoid intermittent timeouts while running the cucumber suite
2011-01-31 16:45:04 -05:00
Joe Ferris
56b0a0439e Move into the Matchers namespace 2010-12-15 17:34:19 -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
Joe Ferris
2320a8c539 Don't test Rails 2 2010-12-13 16:57:42 -05:00
Joe Ferris
cb7eae11b5 Fixed rspec2/rails3 integration; added integration tests for macros/matchers/rspec in rails 2 and 3 using cucumber 2010-06-23 14:46:28 -04:00