Skip to content
Browse files

Remove duplicate test from the merge

  • Loading branch information...
1 parent 34913f1 commit 2cf73787912d4eebfbdb5b9abfb386a80f534ce8 @sikachu sikachu committed Dec 12, 2011
Showing with 0 additions and 19 deletions.
  1. +0 −19 test/storage/s3_test.rb
View
19 test/storage/s3_test.rb
@@ -58,25 +58,6 @@ def teardown
end
- context "missing :bucket option" do
-
- setup do
- rebuild_model :storage => :s3,
- #:bucket => "testing", # intentionally left out
- :s3_credentials => {:not => :important}
-
- @dummy = Dummy.new
- @dummy.avatar = StringIO.new(".")
-
- end
-
- should "raise an argument error" do
- exception = assert_raise(ArgumentError) { @dummy.save }
- assert_match /missing required :bucket option/, exception.message
- end
-
- end
-
context ":bucket option via :s3_credentials" do
setup do

0 comments on commit 2cf7378

Please sign in to comment.
Something went wrong with that request. Please try again.