Skip to content

Commit

Permalink
Add dedicated integration spec for rspec3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mbj committed Oct 28, 2014
1 parent bf1f2d8 commit 79e80db
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
10 changes: 8 additions & 2 deletions spec/integration/mutant/rspec_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,14 @@
it_behaves_like 'rspec integration'
end

context 'RSpec 3' do
let(:gemfile) { 'Gemfile.rspec3' }
context 'RSpec 3.0' do
let(:gemfile) { 'Gemfile.rspec3.0' }

it_behaves_like 'rspec integration'
end

context 'RSpec 3.1' do
let(:gemfile) { 'Gemfile.rspec3.1' }

it_behaves_like 'rspec integration'
end
Expand Down
File renamed without changes.
5 changes: 5 additions & 0 deletions test_app/Gemfile.rspec3.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source 'https://rubygems.org'
gem 'rspec', '~> 3.1.0'
gem 'rspec-core', '~> 3.1.0'
gem 'mutant', path: '../'
gem 'mutant-rspec', path: '../'

0 comments on commit 79e80db

Please sign in to comment.