Skip to content

Commit

Permalink
Broke out snaplink test into two separate tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
dekobon committed Mar 13, 2015
1 parent 2c6f15a commit d2e0245
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/unit/manta_client_test.rb
Expand Up @@ -335,16 +335,16 @@ def test_signed_urls
assert_equal result.body, 'foo-data'
end



def test_snaplinks
def test_snaplink_not_found
begin
@@client.put_snaplink(@@test_dir_path + '/obj1',
@@test_dir_path + '/obj2')
assert false
rescue RubyManta::MantaClient::SourceObjectNotFound
end
end

def test_snaplinks
@@client.put_object(@@test_dir_path + '/obj1', 'foo-data')

result, headers = @@client.put_snaplink(@@test_dir_path + '/obj1',
Expand Down

0 comments on commit d2e0245

Please sign in to comment.