diff options
Diffstat (limited to 'test/test_mogtool_bigfile.rb')
-rw-r--r-- | test/test_mogtool_bigfile.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/test_mogtool_bigfile.rb b/test/test_mogtool_bigfile.rb index 05769cd..e424def 100644 --- a/test/test_mogtool_bigfile.rb +++ b/test/test_mogtool_bigfile.rb @@ -51,7 +51,7 @@ class TestMogtoolBigfile < TestMogIntegration # corrupt the existing data in part1 @client.store_content(part1, nil, "HELLO") - assert_nothing_raised { @client.get_uris(part1) } + @client.get_uris(part1) # corruption is detected on verify junk = tmpfile("junk") @@ -61,9 +61,7 @@ class TestMogtoolBigfile < TestMogIntegration # corruption is NOT detected on verify junk = tmpfile("junk") - assert_nothing_raised do - @client.bigfile_write("_big_info:#@big_uuid", junk, :verify => false) - end + @client.bigfile_write("_big_info:#@big_uuid", junk, :verify => false) # restoring no-corrupted data succeeds! @client.store_file(part1, nil, tmp.path) |