Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

70 afu tests running just fine on JRuby w/ image_voodoo: allow

s3 tests to disable properly. Also remove 'breakpoint' reference
in test_helper
  • Loading branch information...
commit aeb9ecf0964e231cfd2fee34f284a7a092430edf 1 parent 0962d41
@nicksieger nicksieger authored
View
1  .gitignore
@@ -1 +1,2 @@
+test/amazon_s3.yml
test/debug.log
View
6 test/amazon_s3.yml
@@ -1,6 +0,0 @@
-test:
- bucket_name: afu
- access_key_id: YOURACCESSKEY
- secret_access_key: YOURSECRETACCESSKEY
- server: 127.0.0.1
- port: 3002
View
2  test/fixtures/attachment.rb
@@ -122,6 +122,6 @@ class S3WithPathPrefixAttachment < S3Attachment
has_attachment :storage => :s3, :path_prefix => 'some/custom/path/prefix', :processor => :rmagick
validates_as_attachment
end
-rescue Technoweenie::AttachmentFu::Backends::S3Backend::ConfigFileNotFoundError
+rescue
puts "S3 error: #{$!}"
end
View
1  test/test_helper.rb
@@ -5,7 +5,6 @@
require 'test/unit'
require File.expand_path(File.join(ENV['RAILS_ROOT'], 'config/environment.rb'))
-require 'breakpoint'
require 'active_record/fixtures'
require 'action_controller/test_process'
Please sign in to comment.
Something went wrong with that request. Please try again.