16 lines
352 B
Ruby
16 lines
352 B
Ruby
# frozen_string_literal: true
|
|
|
|
RSpec.describe 'null integration', mutant: false 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(false)
|
|
end
|
|
end
|