public
Fork of technoweenie/attachment_fu
Description: Treat an ActiveRecord model as a file attachment, storing its patch, size, content type, etc.
Homepage: http://weblog.techno-weenie.net
Clone URL: git://github.com/nicksieger/attachment_fu.git
70 afu tests running just fine on JRuby w/ image_voodoo: allow
s3 tests to disable properly. Also remove 'breakpoint' reference
in test_helper
nicksieger (author)
Tue Mar 04 20:12:28 -0800 2008
commit  aeb9ecf0964e231cfd2fee34f284a7a092430edf
tree    145537083c3944131091ebadf1d58ea95a4379ec
parent  0962d416ab5a9474c4948883f0a0e861a5201907
...
 
1
...
1
2
0
@@ -1 +1,2 @@
0
+test/amazon_s3.yml
0
 test/debug.log
...
122
123
124
125
 
126
127
...
122
123
124
 
125
126
127
0
@@ -122,6 +122,6 @@ begin
0
     has_attachment :storage => :s3, :path_prefix => 'some/custom/path/prefix', :processor => :rmagick
0
     validates_as_attachment
0
   end
0
-rescue Technoweenie::AttachmentFu::Backends::S3Backend::ConfigFileNotFoundError
0
+rescue
0
   puts "S3 error: #{$!}"
0
 end
...
5
6
7
8
9
10
11
...
5
6
7
 
8
9
10
0
@@ -5,7 +5,6 @@ ENV['RAILS_ROOT'] ||= File.dirname(__FILE__) + '../../../..'
0
 
0
 require 'test/unit'
0
 require File.expand_path(File.join(ENV['RAILS_ROOT'], 'config/environment.rb'))
0
-require 'breakpoint'
0
 require 'active_record/fixtures'
0
 require 'action_controller/test_process'
0
 

Comments

    No one has commented yet.