Add support for RSpec 3.7

This commit is contained in:
Daniel Amireh 2017-12-26 15:32:52 +02:00
parent 1a6caef93d
commit ec5c8eb9b0
4 changed files with 10 additions and 3 deletions

View file

@ -19,7 +19,7 @@ PATH
unparser (~> 0.2.5)
mutant-rspec (0.8.14)
mutant (~> 0.8.14)
rspec-core (>= 3.4.0, < 3.7.0)
rspec-core (>= 3.4.0, < 3.8.0)
GEM
remote: https://rubygems.org/

View file

@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
gem.extra_rdoc_files = %w[LICENSE]
gem.add_runtime_dependency('mutant', "~> #{gem.version}")
gem.add_runtime_dependency('rspec-core', '>= 3.4.0', '< 3.7.0')
gem.add_runtime_dependency('rspec-core', '>= 3.4.0', '< 3.8.0')
gem.add_development_dependency('bundler', '~> 1.3', '>= 1.3.5')
end

View file

@ -2,7 +2,7 @@ RSpec.describe 'rspec integration', mutant: false do
let(:base_cmd) { 'bundle exec mutant -I lib --require test_app --use rspec' }
%w[3.4 3.5 3.6].each do |version|
%w[3.4 3.5 3.6 3.7].each do |version|
context "RSpec #{version}" do
let(:gemfile) { "Gemfile.rspec#{version}" }

View file

@ -0,0 +1,7 @@
source 'https://rubygems.org'
gem 'rspec', '~> 3.7.0'
gem 'rspec-core', '~> 3.7.0'
gem 'mutant', path: '../'
gem 'mutant-rspec', path: '../'
gem 'adamantium'
eval_gemfile File.expand_path('../../Gemfile.shared', __FILE__)