Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Remove duplicate test from the merge

  • Loading branch information...
commit 2cf73787912d4eebfbdb5b9abfb386a80f534ce8 1 parent 34913f1
Prem Sichanugrist authored December 12, 2011

Showing 1 changed file with 0 additions and 19 deletions. Show diff stats Hide diff stats

  1. 19  test/storage/s3_test.rb
19  test/storage/s3_test.rb
@@ -58,25 +58,6 @@ def teardown
58 58
 
59 59
   end
60 60
 
61  
-  context "missing :bucket option" do
62  
-
63  
-    setup do
64  
-      rebuild_model :storage => :s3,
65  
-                    #:bucket => "testing", # intentionally left out
66  
-                    :s3_credentials => {:not => :important}
67  
-
68  
-      @dummy = Dummy.new
69  
-      @dummy.avatar = StringIO.new(".")
70  
-
71  
-    end
72  
-
73  
-    should "raise an argument error" do
74  
-      exception = assert_raise(ArgumentError) { @dummy.save }
75  
-      assert_match /missing required :bucket option/, exception.message
76  
-    end
77  
-
78  
-  end
79  
-
80 61
   context ":bucket option via :s3_credentials" do
81 62
 
82 63
     setup do

0 notes on commit 2cf7378

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