spec/unit/mutant/env_spec.rb in mutant-0.8.3 vs spec/unit/mutant/env_spec.rb in mutant-0.8.4
- old
+ new
@@ -14,10 +14,10 @@
end
let(:integration) { integration_class.new(config) }
let(:config) do
- Mutant::Config::DEFAULT.update(isolation: isolation, integration: integration_class)
+ Mutant::Config::DEFAULT.with(isolation: isolation, integration: integration_class)
end
let(:isolation) { double('Isolation') }
let(:mutation) { Mutant::Mutation::Evil.new(mutation_subject, Mutant::AST::Nodes::N_NIL) }
let(:wrapped_node) { double('Wrapped Node') }