test/integration_test.rb in paperclip-2.3.3 vs test/integration_test.rb in paperclip-2.3.4

- old
+ new

@@ -202,11 +202,11 @@ @dummy = Dummy.new @file = File.new(File.join(FIXTURES_DIR, "5k.png"), 'rb') @bad_file = File.new(File.join(FIXTURES_DIR, "bad.png"), 'rb') assert @dummy.avatar = @file - assert @dummy.valid? + assert @dummy.valid?, @dummy.errors.full_messages.join(", ") assert @dummy.save end should "write and delete its files" do [["434x66", :original], @@ -361,10 +361,9 @@ rebuild_model :styles => { :large => "300x300>", :medium => "100x100", :thumb => ["32x32#", :gif] }, :storage => :s3, :whiny_thumbnails => true, - # :s3_options => {:logger => Logger.new(StringIO.new)}, :s3_credentials => File.new(File.join(File.dirname(__FILE__), "s3.yml")), :default_style => :medium, :bucket => ENV['S3_TEST_BUCKET'], :path => ":class/:attachment/:id/:style/:basename.:extension" @dummy = Dummy.new