Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
Remove duplicate test from the merge
Browse files Browse the repository at this point in the history
  • Loading branch information
sikachu committed Dec 12, 2011
1 parent 34913f1 commit 2cf7378
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions test/storage/s3_test.rb
Expand Up @@ -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
Expand Down

0 comments on commit 2cf7378

Please sign in to comment.