Sha256: db98d71d5f557b6b9180e1c5a8d13ec8c5b9fbc60c9e437d2d313605ce8b2db3

Contents?: true

Size: 475 Bytes

Versions: 14

Compression:

Stored size: 475 Bytes

Contents

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
paperclip-3.5.2 test/tempfile_factory_test.rb
paperclip-3.5.1 test/tempfile_factory_test.rb
paperclip-3.5.0 test/tempfile_factory_test.rb
paperclip-3.4.2 test/tempfile_factory_test.rb
paperclip-3.4.1 test/tempfile_factory_test.rb
paperclip-3.4.0 test/tempfile_factory_test.rb
paperclip-3.3.1 test/tempfile_factory_test.rb
paperclip-3.2.1 test/tempfile_factory_test.rb
paperclip-3.3.0 test/tempfile_factory_test.rb
paperclip-3.2.0 test/tempfile_factory_test.rb
paperclip-3.1.4 test/tempfile_factory_test.rb
paperclip-3.1.2 test/tempfile_factory_test.rb
paperclip-3.1.1 test/tempfile_factory_test.rb
paperclip-3.1.0 test/tempfile_factory_test.rb