Sha256: 544442a2366307d8ef2b9d41431b381ac4c10eb2d77007346596de8ae4dfbb7f

Contents?: true

Size: 324 Bytes

Versions: 5

Compression:

Stored size: 324 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 "Unauthorized Access"
}

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
imgurr-0.2.0 test/3-delete.sh
imgurr-0.1.2 test/3-delete.sh
imgurr-0.1.1 test/3-delete.sh
imgurr-0.1.0 test/3-delete.sh
imgurr-0.0.4 test/3-delete.sh