Add support for rspec-3.2

* Add an integration test for rspec-3.2
This commit is contained in:
Markus Schirp 2015-02-15 18:00:00 +00:00
parent 67c9a256fe
commit 0c36090043
3 changed files with 12 additions and 1 deletions

View file

@ -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

View file

@ -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

View 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: '../'