2014-12-13 01:06:04 +00:00
|
|
|
RSpec.describe 'null integration', mutant: false do
|
2014-05-11 14:43:15 +00:00
|
|
|
|
2014-06-08 23:33:15 +00:00
|
|
|
let(:base_cmd) { 'bundle exec mutant -I lib --require test_app "TestApp*"' }
|
2014-05-11 14:43:15 +00:00
|
|
|
|
|
|
|
around do |example|
|
|
|
|
Dir.chdir(TestApp.root) do
|
|
|
|
example.run
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
specify 'it allows to kill mutations' do
|
2014-05-11 14:45:16 +00:00
|
|
|
expect(Kernel.system(base_cmd)).to be(false)
|
2014-05-11 14:43:15 +00:00
|
|
|
end
|
|
|
|
end
|