Sha256: 05cd8a943f4bd54669ef81fc12a7f8b6cefe2f7aa97ad25c54d32b06b037f223
Contents?: true
Size: 582 Bytes
Versions: 4
Compression:
Stored size: 582 Bytes
Contents
#!/usr/bin/env roundup export IMGURRFILE=test/files/imgurr.json imgurr="./bin/imgurr" id_file="test/id" describe "info" it_gets_image_info() { ${imgurr} info `cat ${id_file}` | grep "Width : 96 px" } it_gets_image_info_from_url() { ${imgurr} info http://i.imgur.com/2KxrTAK.jpg | grep "Width : 960 px" } it_gets_image_info_from_url_with_title() { ${imgurr} info http://i.imgur.com/Wk1iPej.jpg | grep "Title : Imgurr Test" } it_gets_image_info_from_url_with_description() { ${imgurr} info http://i.imgur.com/Wk1iPej.jpg | grep "Desc : Imgurr Test" }
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
imgurr-0.2.0 | test/2-info.sh |
imgurr-0.1.2 | test/2-info.sh |
imgurr-0.1.1 | test/2-info.sh |
imgurr-0.1.0 | test/2-info.sh |