aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-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