Sha256: 7965b79e31169071d64e8acdf4a9a24a92cc02ee2275a85d2bf8f6a86a1e9c61

Contents?: true

Size: 341 Bytes

Versions: 5

Compression:

Stored size: 341 Bytes

Contents

#!/usr/bin/env roundup
export IMGURRFILE=test/files/imgurr.json
imgurr="./bin/imgurr"
image="test/files/habs.gif"

describe "errors"

it_shows_missing_arg_error() {
  ${imgurr} upload ${image} --title | grep "Error: missing argument"
}

it_shows_invalid_option_error() {
  ${imgurr} upload ${image} --unknown | grep "Error: invalid option"
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
imgurr-1.0.0 test/error.sh
imgurr-0.2.0 test/error.sh
imgurr-0.1.2 test/error.sh
imgurr-0.1.1 test/error.sh
imgurr-0.1.0 test/error.sh