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