Commit cb6efaa5 by Prem Sichanugrist

Remove duplicate test case

parent bd9cf246
...@@ -24,14 +24,6 @@ class UpfileTest < Test::Unit::TestCase ...@@ -24,14 +24,6 @@ class UpfileTest < Test::Unit::TestCase
assert_equal content_type, file.content_type assert_equal content_type, file.content_type
end end
should "return a content_type of text/plain on a real file whose content_type is determined with the file command" do
file = File.new(File.join(File.dirname(__FILE__), "..", "LICENSE"))
class << file
include Paperclip::Upfile
end
assert_equal 'text/plain', file.content_type
end
end end
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