Sha256: 54be91a1f6e2564a43657dd01f86ba6d27556374c475bd6d5a70ae9597e99157

Contents?: true

Size: 1.31 KB

Versions: 3

Compression:

Stored size: 1.31 KB

Contents

Feature: Alternative styles

  Background:
    Given git remote is "https://github.com/doge/wow"

  @travis @gemnasium @coveralls @gemspec @mit
  Scenario: One with everything
    When I successfully run `badger badge --style flat-square /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)
[![Badges](http://img.shields.io/:badges-7/7-ff6799.svg?style=flat-square)](https://github.com/badges/badgerbadgerbadger)
    """
  Scenario: Invalid style choice
    When I run `badger badge --style fluffy /tmp/wow_repo`
    Then the output should contain:
    """
    Invalid style choice 'fluffy'
    """
    And the exit status should be 3

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
badgerbadgerbadger-0.13.0 features/alternative-styles.feature
badgerbadgerbadger-0.12.0 features/alternative-styles.feature
badgerbadgerbadger-0.11.2 features/alternative-styles.feature