Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Change ENV['S3_TEST_BUCKET'] to ENV['S3_BUCKET']

  • Loading branch information...
commit 88a8af955db647375411173c566a26ececc7118b 1 parent 75f413d
@sikachu sikachu authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 test/storage/s3_live_test.rb
View
10 test/storage/s3_live_test.rb
@@ -1,14 +1,14 @@
require './test/helper'
require 'aws'
-unless ENV["S3_TEST_BUCKET"].blank?
+unless ENV["S3_BUCKET"].blank?
class S3LiveTest < Test::Unit::TestCase
context "Generating an expiring url on a nonexistant attachment" do
setup do
rebuild_model :styles => { :thumb => "100x100", :square => "32x32#" },
:storage => :s3,
- :bucket => ENV["S3_TEST_BUCKET"],
+ :bucket => ENV["S3_BUCKET"],
:path => ":class/:attachment/:id/:style.:extension",
:s3_credentials => File.new(File.join(File.dirname(__FILE__), "..", "fixtures", "s3.yml"))
@@ -23,7 +23,7 @@ class S3LiveTest < Test::Unit::TestCase
setup do
rebuild_model :styles => { :thumb => "100x100", :square => "32x32#" },
:storage => :s3,
- :bucket => ENV["S3_TEST_BUCKET"],
+ :bucket => ENV["S3_BUCKET"],
:path => ":class/:attachment/:id/:style.:extension",
:s3_credentials => File.new(File.join(File.dirname(__FILE__), "..", "fixtures", "s3.yml"))
@@ -71,7 +71,7 @@ class S3LiveTest < Test::Unit::TestCase
setup do
rebuild_model :styles => { :thumb => "100x100", :square => "32x32#" },
:storage => :s3,
- :bucket => ENV["S3_TEST_BUCKET"],
+ :bucket => ENV["S3_BUCKET"],
:s3_credentials => File.new(File.join(File.dirname(__FILE__), "..", "fixtures", "s3.yml"))
Dummy.delete_all
@@ -105,7 +105,7 @@ class S3LiveTest < Test::Unit::TestCase
setup do
rebuild_model :styles => { :thumb => "100x100", :square => "32x32#" },
:storage => :s3,
- :bucket => ENV["S3_TEST_BUCKET"],
+ :bucket => ENV["S3_BUCKET"],
:s3_credentials => File.new(File.join(File.dirname(__FILE__), "..", "fixtures", "s3.yml"))
Dummy.delete_all
Please sign in to comment.
Something went wrong with that request. Please try again.