Skip to content

Commit

Permalink
pin rspec-core to a specific version
Browse files Browse the repository at this point in the history
we were getting strange behavior only in jruby with rspec-core 2.14.6.
All of the tests would pass but the rake task would return 1 and cause
the Travis build to fail, for example
https://travis-ci.org/sferik/rails_admin/jobs/12765829.  On my machine
it failed intermittently but on Travis it was consistent.  2.14.5
works consistently so for now we'll pin it to that version.
  • Loading branch information
caboteria committed Oct 19, 2013
1 parent cf927a3 commit a0d04db
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ group :development do
end

group :test do
# we were getting strange behavior only in jruby with rspec-core
# 2.14.6. All of the tests would pass but the rake task would
# return 1 and cause the Travis build to fail, for example
# https://travis-ci.org/sferik/rails_admin/jobs/12765829. On my
# machine it failed intermittently but on Travis it was consistent.
# 2.14.5 works consistently so for now we'll pin it to that version.
gem 'rspec-core', '2.14.5'
gem 'cancan', '>= 1.6'
gem 'capybara', '~> 2.0'
gem 'carrierwave', '>= 0.8'
Expand Down

0 comments on commit a0d04db

Please sign in to comment.