Sha256: 2c2f7aebad2bd1cfb4f757eb5dd1f5ca2d57e2df8443387c4cc1eb5aac802cb4
Contents?: true
Size: 1.42 KB
Versions: 2
Compression:
Stored size: 1.42 KB
Contents
Feature: Release In order to conveniently make a release of my project As a developer I want shoe to give me a rake task Background: Given I have created a directory called "origin" And I have run git init --bare inside "origin" Given I have run shoe my_project inside "." And I have run git init inside "my_project" And I have run git add . inside "my_project" And I have run git commit -m "Initial commit" inside "my_project" Scenario: I can release When I replace "0.0.0" with "0.1.0" in the file "my_project/lib/my_project.rb" And I run rake --tasks inside "my_project" Then I should see "rake release" on standard out Scenario: I cannot release when the version is 0.0.0 When I run rake --tasks inside "my_project" Then I should not see "rake release" on standard out Scenario: I cannot release when I already have a tag for the current version When I run git tag v0.1.0 inside "my_project" And I replace "0.0.0" with "0.1.0" in the file "my_project/lib/my_project.rb" And I run rake --tasks inside "my_project" Then I should not see "rake release" on standard out Scenario: I cannot release from a branch other than master When I run git checkout -b topic inside "my_project" And I replace "0.0.0" with "0.1.0" in the file "my_project/lib/my_project.rb" And I run rake --tasks inside "my_project" Then I should not see "rake release" on standard out
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
shoe-0.6.1 | features/release.feature |
shoe-0.6.0 | features/release.feature |