6df5811a87
* I dislike the global infection RSpec does. This commit is a first step to get a rid of it. * Also remove the need for `require 'spec_helper` in each spec file with adjusting `.rspec`.
12 lines
344 B
Ruby
12 lines
344 B
Ruby
RSpec.describe Mutant::Mutator::Node do
|
|
Mutant::Meta::Example::ALL.each do |example|
|
|
context "on #{example.node.type.inspect}" do
|
|
it 'generates the correct mutations' do
|
|
verification = example.verification
|
|
unless verification.success?
|
|
fail verification.error_report
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|