Sha256: e8603cdbd408b045af4ab35bf450883555bfbed12bf70c2e6228682f953f1a64

Contents?: true

Size: 456 Bytes

Versions: 2

Compression:

Stored size: 456 Bytes

Contents

#!/usr/bin/env roundup
export BOOMFILE=test/examples/data.json
boom="./bin/boom"

describe "items"

it_adds_an_item() {
  $boom urls google 'http://google.com'
  $boom urls | grep google.com
}

it_deletes_an_item() {
  yes | $boom delete urls google | grep 'gone forever'
  $boom urls google | grep 'not found'
}

it_echos_an_item() {
  $boom echo site | grep 'zachholman.com'
}

it_handles_open_on_nonexistent_item() {
  $boom open nadda | grep "nadda"
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
boom-0.5.0 test/item.sh
boom-0.4.0 test/item.sh