spec/gnawrnip/photographer_spec.rb in gnawrnip-0.2.3 vs spec/gnawrnip/photographer_spec.rb in gnawrnip-0.2.4
- old
+ new
@@ -13,11 +13,11 @@
photographer.take_shot
photographer.take_shot
end
describe '.add_frame' do
- subject { photographer.frames }
- it { should have(2).elements }
+ subject { photographer.frames.length }
+ it { should eq 2 }
end
describe '.reset!' do
before { photographer.reset! }
subject { photographer.frames }