diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-04-02 13:39:36 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-04-07 17:14:07 +0100 |
commit | cb06289e9fc04bf2ea9430828358a7cf304eae8f (patch) | |
tree | 08417e5702f1f7ae759c2907ebbd0f9aa063d32b /spec/lib/attachment_to_html/html_spec.rb | |
parent | ce9fa9e77a60d06e3ed968ccb48c0fa30fb9f1f2 (diff) |
Remove redundant AttachmentToHTML::HTML
Diffstat (limited to 'spec/lib/attachment_to_html/html_spec.rb')
-rw-r--r-- | spec/lib/attachment_to_html/html_spec.rb | 24 |
1 files changed, 0 insertions, 24 deletions
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 => '<p>hello</p>', :success? => true) } - let(:html) { AttachmentToHTML::HTML.new(adapter) } - - describe :to_s do - - it 'returns the raw html' do - html.to_s.should == '<p>hello</p>' - end - - end - - describe :success? do - - it 'returns whether the conversion succeeded' do - html.success?.should be_true - end - - end - -end |