Remove useless and deactivated for ages integration test
This commit is contained in:
parent
b73f7030a3
commit
f1af48a83e
1 changed files with 0 additions and 26 deletions
|
@ -1,26 +0,0 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe Mutant, 'runner' do
|
||||
before do
|
||||
pending
|
||||
end
|
||||
|
||||
around do |example|
|
||||
Dir.chdir(TestApp.root) do
|
||||
example.run
|
||||
end
|
||||
end
|
||||
|
||||
it 'allows to run mutant over a project' do
|
||||
output = StringIO.new
|
||||
runner = Mutant::Runner.run(
|
||||
:killer => Mutant::Killer::Rspec,
|
||||
:matcher => Mutant::Matcher::ObjectSpace.new(/\ATestApp::/),
|
||||
:reporter => Mutant::Reporter::CLI.new(output)
|
||||
)
|
||||
runner.fail?.should be(true)
|
||||
runner.errors.size.should be(22)
|
||||
output.rewind
|
||||
output.lines.grep(/Mutant alive:/).size.should be(22)
|
||||
end
|
||||
end
|
Loading…
Add table
Reference in a new issue