Sha256: ec829c04056d862c2bd35bc98eeb8ca57df50648b52a76dc4b07b4f41d3a0a73
Contents?: true
Size: 1.66 KB
Versions: 11
Compression:
Stored size: 1.66 KB
Contents
Feature: Badge robot Background: Given git remote is "git@github.com:doge/wow.git" @travis @gemnasium @coveralls @gemspec @mit Scenario: One with everything When I successfully run `badger badge /tmp/wow_repo` Then the output should contain: """ [![Build Status](http://img.shields.io/travis/doge/wow.svg?style=flat-square)](https://travis-ci.org/doge/wow) [![Dependency Status](http://img.shields.io/gemnasium/doge/wow.svg?style=flat-square)](https://gemnasium.com/doge/wow) [![Coverage Status](http://img.shields.io/coveralls/doge/wow.svg?style=flat-square)](https://coveralls.io/r/doge/wow) [![Code Climate](http://img.shields.io/codeclimate/github/doge/wow.svg?style=flat-square)](https://codeclimate.com/github/doge/wow) [![Gem Version](http://img.shields.io/gem/v/suchgem.svg?style=flat-square)](https://rubygems.org/gems/suchgem) [![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://doge.mit-license.org) """ And the output should not contain: """ [![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://doge.mit-license.org) [![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://doge.mit-license.org) """ Scenario: handle a non-git-repo gracefully When I run `badger badge /tmp` Then the output should contain: """ Run this from inside a git repo """ And the exit status should be 1 @no-remote Scenario: handle a git repo without a github remote When I run `badger badge /tmp/not_wow` Then the output should contain: """ This repo does not appear to have a github remote """ And the exit status should be 2
Version data entries
11 entries across 11 versions & 2 rubygems