Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (12 sloc) 0.475 kB
require './test/helper'
class Paperclip::TempfileFactoryTest < Test::Unit::TestCase
should "be able to generate a tempfile with the right name" do
file = subject.generate("omg.png")
end
should "be able to generate a tempfile with the right name with a tilde at the beginning" do
file = subject.generate("~omg.png")
end
should "be able to generate a tempfile with the right name with a tilde at the end" do
file = subject.generate("omg.png~")
end
end
Jump to Line
Something went wrong with that request. Please try again.