Add support for rspec-3.2
* Add an integration test for rspec-3.2
This commit is contained in:
parent
67c9a256fe
commit
0c36090043
3 changed files with 12 additions and 1 deletions
|
@ -18,7 +18,7 @@ Gem::Specification.new do |gem|
|
|||
gem.extra_rdoc_files = %w[TODO LICENSE]
|
||||
|
||||
gem.add_runtime_dependency('mutant', "~> #{gem.version}")
|
||||
gem.add_runtime_dependency('rspec-core', '>= 3.0.0', '< 3.2.0')
|
||||
gem.add_runtime_dependency('rspec-core', '>= 3.0.0', '< 3.3.0')
|
||||
|
||||
gem.add_development_dependency('bundler', '~> 1.3', '>= 1.3.5')
|
||||
end
|
||||
|
|
|
@ -49,4 +49,10 @@ RSpec.describe 'rspec integration', mutant: false do
|
|||
|
||||
it_behaves_like 'rspec integration'
|
||||
end
|
||||
|
||||
context 'RSpec 3.2' do
|
||||
let(:gemfile) { 'Gemfile.rspec3.2' }
|
||||
|
||||
it_behaves_like 'rspec integration'
|
||||
end
|
||||
end
|
||||
|
|
5
test_app/Gemfile.rspec3.2
Normal file
5
test_app/Gemfile.rspec3.2
Normal file
|
@ -0,0 +1,5 @@
|
|||
source 'https://rubygems.org'
|
||||
gem 'rspec', '~> 3.2.0'
|
||||
gem 'rspec-core', '~> 3.2.0'
|
||||
gem 'mutant', path: '../'
|
||||
gem 'mutant-rspec', path: '../'
|
Loading…
Reference in a new issue