Sha256: 70a3c93be34f822f40fe208150fc5324fd317b179089776f2f358bcc5fc7f0cc

Contents?: true

Size: 1.8 KB

Versions: 1

Compression:

Stored size: 1.8 KB

Contents

Feature: Get service badges

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

  @travis
  Scenario: Generate travis badge
    When I successfully run `badger badge /tmp/wow_repo`
    Then the output should contain:
    """
[![Build Status](https://travis-ci.org/doge/wow.svg)](https://travis-ci.org/doge/wow)
    """
    And the output should not contain:
    """
[![Coverage Status](http://img.shields.io/coveralls/doge/wow.svg)](https://coveralls.io/r/doge/wow)
    """
    And the output should not contain:
    """
[![Dependency Status](http://img.shields.io/gemnasium/doge/wow.svg)](https://gemnasium.com/doge/wow)
    """
    And the output should not contain:
    """
[![Gem Version](http://img.shields.io/gem/v/suchgem.svg)](https://rubygems.org/gems/suchgem)
    """

  @gemnasium
  Scenario: Generate gemnasium badge
    When I successfully run `badger badge /tmp/wow_repo`
    Then the output should contain:
    """
[![Dependency Status](http://img.shields.io/gemnasium/doge/wow.svg)](https://gemnasium.com/doge/wow)
   """

  @coveralls
  Scenario: Generate coveralls badge
    When I successfully run `badger badge /tmp/wow_repo`
    Then the output should contain:
    """
[![Dependency Status](http://img.shields.io/gemnasium/doge/wow.svg)](https://gemnasium.com/doge/wow)
[![Coverage Status](http://img.shields.io/coveralls/doge/wow.svg)](https://coveralls.io/r/doge/wow)
    """
    And the output should not contain:
    """
[![Build Status](http://img.shields.io/travis/doge/wow.svg)](https://travis-ci.org/doge/wow)
    """

  @codeclimate
  Scenario: Generate codeclimate badge
    When I successfully run `badger badge /tmp/wow_repo`
    Then the output should contain:
    """
[![Code Climate](http://img.shields.io/codeclimate/github/doge/wow.svg)](https://codeclimate.com/github/doge/wow)
    """

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
badgerbadgerbadger-0.9.0 features/services.feature