aboutsummaryrefslogtreecommitdiffstats
path: root/spec/factories/foi_attchments.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/foi_attchments.rb')
-rw-r--r--spec/factories/foi_attchments.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/factories/foi_attchments.rb b/spec/factories/foi_attchments.rb
index 4e9875a00..a1d04ccf0 100644
--- a/spec/factories/foi_attchments.rb
+++ b/spec/factories/foi_attchments.rb
@@ -16,6 +16,11 @@ FactoryGirl.define do
filename 'interesting.rtf'
body { load_file_fixture('interesting.rtf') }
end
+ factory :html_attachment do
+ content_type 'text/html'
+ filename 'interesting.html'
+ body { load_file_fixture('interesting.html') }
+ end
end
end