From cb06289e9fc04bf2ea9430828358a7cf304eae8f Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Wed, 2 Apr 2014 13:39:36 +0100 Subject: Remove redundant AttachmentToHTML::HTML --- spec/lib/attachment_to_html/html_spec.rb | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 spec/lib/attachment_to_html/html_spec.rb (limited to 'spec/lib/attachment_to_html/html_spec.rb') diff --git a/spec/lib/attachment_to_html/html_spec.rb b/spec/lib/attachment_to_html/html_spec.rb deleted file mode 100644 index 65b63d383..000000000 --- a/spec/lib/attachment_to_html/html_spec.rb +++ /dev/null @@ -1,24 +0,0 @@ -require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') - -describe AttachmentToHTML::HTML do - - let(:adapter) { OpenStruct.new(:to_html => '

hello

', :success? => true) } - let(:html) { AttachmentToHTML::HTML.new(adapter) } - - describe :to_s do - - it 'returns the raw html' do - html.to_s.should == '

hello

' - end - - end - - describe :success? do - - it 'returns whether the conversion succeeded' do - html.success?.should be_true - end - - end - -end -- cgit v1.2.3