Sha256: 1982e9b516d645e55b99aca2585c6a2c4e5a355c979f1f6f290ee7584ccf0a76
Contents?: true
Size: 1.82 KB
Versions: 11
Compression:
Stored size: 1.82 KB
Contents
Feature: Get license badges Background: Given git remote is "https://github.com/doge/wow.git" @license @mit Scenario: Generate MIT license When I successfully run `badger badge /tmp/wow_repo` Then the output should contain: """ ![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://doge.mit-license.org) """ And the output should not contain: """ Apache """ 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) """ @license @apache Scenario: Generate Apache license When I successfully run `badger badge /tmp/wow_repo` Then the output should contain: """ ![License](http://img.shields.io/:license-apache-blue.svg?style=flat-square)](http://www.apache.org/licenses/LICENSE-2.0.html) """ And the output should not contain: """ GPL """ @license @gpl2 Scenario: Generate GPL2 license When I successfully run `badger badge /tmp/wow_repo` Then the output should contain: """ ![License](http://img.shields.io/:license-gpl2-blue.svg?style=flat-square)](http://www.gnu.org/licenses/gpl-2.0.html) """ And the output should not contain: """ MIT """ @license @gpl3 Scenario: Generate GPL3 license When I successfully run `badger badge /tmp/wow_repo` Then the output should contain: """ ![License](http://img.shields.io/:license-gpl3-blue.svg?style=flat-square)](http://www.gnu.org/licenses/gpl-3.0.html) """ @license @doge-license Scenario: Attempt to generate an unknown license type When I successfully run `badger badge /tmp/wow_repo` Then the output should not contain: """ License """
Version data entries
11 entries across 11 versions & 2 rubygems