spec/unit/anima/attribute/define_reader_spec.rb in anima-0.0.6 vs spec/unit/anima/attribute/define_reader_spec.rb in anima-0.0.7

- old
+ new

@@ -11,10 +11,10 @@ @foo = foo end end end - let(:value) { mock('Value') } + let(:value) { double('Value') } it 'should create a reader' do instance = target_class.new(value) lambda { subject }.should change { instance.respond_to?(:foo) }.from(false).to(true) end