aboutsummaryrefslogtreecommitdiffstats
path: root/spec/lib/attachment_to_html/html_spec.rb
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2014-04-02 13:39:36 +0100
committerGareth Rees <gareth@mysociety.org>2014-04-07 17:14:07 +0100
commitcb06289e9fc04bf2ea9430828358a7cf304eae8f (patch)
tree08417e5702f1f7ae759c2907ebbd0f9aa063d32b /spec/lib/attachment_to_html/html_spec.rb
parentce9fa9e77a60d06e3ed968ccb48c0fa30fb9f1f2 (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.rb24
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