Sha256: 7dee5cb8c18a5c6a405fad3db3f6c8fbda2b3fc8e79ecda5ede8f89af8daca46

Contents?: true

Size: 335 Bytes

Versions: 1

Compression:

Stored size: 335 Bytes

Contents

#!/usr/bin/env roundup
export IMGURRFILE=test/files/imgurr.json
imgurr="./bin/imgurr"
id_file="test/id"

describe "delete"

it_shows_error_wrong_hash() {
  ${imgurr} delete `cat ${id_file}` random | grep -m 1 "Unauthorized Access"
}

it_deletes_from_storage() {
  ${imgurr} delete `cat ${id_file}` | grep -m 1 "Successfully deleted"
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
imgurr-1.0.0 test/3-delete.sh