diff --git a/spec/decorators/asciicast_decorator_spec.rb b/spec/decorators/asciicast_decorator_spec.rb index f7996e2..df19fa4 100644 --- a/spec/decorators/asciicast_decorator_spec.rb +++ b/spec/decorators/asciicast_decorator_spec.rb @@ -136,12 +136,11 @@ describe AsciicastDecorator do describe '#thumbnail' do let(:snapshot) { double('snapshot', :crop => thumbnail) } let(:thumbnail) { double('thumbnail') } - let(:presenter) { double('presenter') } + let(:presenter) { double('presenter', :to_html => '
') }
 
     before do
       allow(asciicast).to receive(:snapshot) { snapshot }
       allow(SnapshotPresenter).to receive(:new).with(thumbnail) { presenter }
-      allow(presenter).to receive(:to_html) { '
' }
     end
 
     it 'crops the snapshot' do