Add integration spec for 'null' strategy
This commit is contained in:
parent
82634f383c
commit
95aa3a10b2
1 changed files with 18 additions and 0 deletions
18
spec/integration/mutant/null_spec.rb
Normal file
18
spec/integration/mutant/null_spec.rb
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
|
||||||
|
require 'spec_helper'
|
||||||
|
|
||||||
|
describe 'null integration' do
|
||||||
|
|
||||||
|
let(:base_cmd) { 'bundle exec mutant -I lib --require test_app "::TestApp*"' }
|
||||||
|
|
||||||
|
around do |example|
|
||||||
|
Dir.chdir(TestApp.root) do
|
||||||
|
example.run
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
specify 'it allows to kill mutations' do
|
||||||
|
expect(Kernel.system(base_cmd)).to be(true)
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue