spec/lib/arstotzka_spec.rb in arstotzka-1.0.4 vs spec/lib/arstotzka_spec.rb in arstotzka-1.1.0

- old
+ new

@@ -31,11 +31,11 @@ expect(value).to eq(json['father']['name']) end end context 'when caching the value' do - let(:attribute) { :age } + let(:attribute) { :age } let!(:old_value) { json['age'] } before do dummy.age json['age'] = old_value + 100 @@ -89,10 +89,10 @@ end end end context 'when wrapping it with a class and caching' do - let(:attribute) { :old_house } + let(:attribute) { :old_house } let!(:old_value) { json['oldHouse'] } it 'returns an onject wrap' do expect(value).to be_a(House) end