Remove memoizer in parent class.
* See: https://github.com/dkubb/memoizable/issues/13
This commit is contained in:
parent
399f352328
commit
14c906b8e2
2 changed files with 1 additions and 2 deletions
|
@ -56,7 +56,6 @@ module Mutant
|
|||
def identification
|
||||
"#{subject.identification}:#{code}"
|
||||
end
|
||||
memoize :identification
|
||||
|
||||
# Return mutation code
|
||||
#
|
||||
|
|
|
@ -4,7 +4,7 @@ require 'spec_helper'
|
|||
|
||||
describe Mutant::Mutation do
|
||||
|
||||
let(:class_under_test) { Class.new(described_class) }
|
||||
let(:class_under_test) { Class.new(described_class) { memoize :identification } }
|
||||
let(:object) { class_under_test.new(mutation_subject, Mutant::NodeHelpers::N_NIL) }
|
||||
let(:mutation_subject) { double('Subject', identification: 'subject', source: 'original') }
|
||||
let(:node) { double('Node') }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue