Commit 9e9674af by George Brocklehurst Committed by Mike Burns

Clear attachment styles before rake task tests.

parent 9bcb5c81
require './test/helper' require './test/helper'
class PaperclipMissingAttachmentStylesTest < Test::Unit::TestCase class PaperclipMissingAttachmentStylesTest < Test::Unit::TestCase
context "Paperclip" do context "Paperclip" do
setup do
Paperclip::Tasks::Attachments.clear
end
teardown do teardown do
File.unlink(Paperclip.registered_attachments_styles_path) rescue nil File.unlink(Paperclip.registered_attachments_styles_path) rescue nil
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment