Skip to content

Commit

Permalink
Merge pull request #70 from mitfik/master
Browse files Browse the repository at this point in the history
Fix test for find_first
  • Loading branch information
Jakub Kuźma committed Jul 9, 2012
2 parents 4c4c8bb + c50ac2c commit 98ade8e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/service_test.rb
Expand Up @@ -87,10 +87,8 @@ def setup
end
end

test "buckets find first fail" do
assert_raise S3::Error::NoSuchBucket do
@service_bucket_not_exists.buckets.find_first("data2.example.com")
end
test "buckets find first return nil" do
assert_equal nil, @service_bucket_not_exists.buckets.find_first("data2.example.com")
end

test "buckets find all on empty list" do
Expand Down

0 comments on commit 98ade8e

Please sign in to comment.