Sha256: bdb2cf3f3cc1cf1aad20d7de57e22dbc2bd23d71db838a7dd3721c50ec3e8362
Contents?: true
Size: 727 Bytes
Versions: 6
Compression:
Stored size: 727 Bytes
Contents
Shindo.tests('Cifrado | SwiftClient#match') do obj = create_bin_payload 1 tests("#match") do response = client.upload(test_container_name, obj) test "#{test_container_name}/#{obj} available" do (client.match obj, test_container_name) == 1 end test "#{test_container_name}////#{obj} available" do (client.match "///" + obj, test_container_name) == 1 end test "#{test_container_name}/#{obj} MD5 changed" do File.open(obj, 'w') { |f| f.puts 'foo' } (client.match obj, test_container_name) == 2 end test "#{test_container_name}/#{obj} not available" do clean_test_container (client.match obj, test_container_name) == 0 end end end
Version data entries
6 entries across 6 versions & 1 rubygems