Sha256: bf51580dadd030e6d3310122586d6dc1ef69f47d36995816f18e9c33617a83e4
Contents?: true
Size: 569 Bytes
Versions: 8
Compression:
Stored size: 569 Bytes
Contents
require 'spec_helper' require 'gnawrnip/photographer' module Gnawrnip describe Photographer do let(:photographer) { described_class.new } before do allow(Screenshot).to receive(:take).and_return('foo') photographer.reset! photographer.take_shot photographer.take_shot end describe '.add_frame' do subject { photographer.frames.length } it { should eq 2 } end describe '.reset!' do before { photographer.reset! } subject { photographer.frames } it { should be_empty } end end end
Version data entries
8 entries across 8 versions & 1 rubygems