free_mutant/spec/integration/mutant/null_spec.rb

17 lines
323 B
Ruby
Raw Normal View History

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
2014-05-11 10:45:16 -04:00
expect(Kernel.system(base_cmd)).to be(false)
end
end