lib/mutant/subject.rb in mutant-0.11.11 vs lib/mutant/subject.rb in mutant-0.11.12

- old
+ new

@@ -10,10 +10,13 @@ # # @return [Enumerable<Mutation>] # @return [undefined] def mutations [neutral_mutation].concat( - Mutator.mutate(node).map do |mutant| + Mutator::Node.mutate( + config: config.mutation, + node: node + ).map do |mutant| Mutation::Evil.new(self, wrap_node(mutant)) end ) end memoize :mutations