Sha256: b94a88836ecaae3f5c4798db14812828e448eeef4106b3e273513816518d1b29

Contents?: true

Size: 1.25 KB

Versions: 2

Compression:

Stored size: 1.25 KB

Contents

Feature: Getting started
  In order to start using shoe
  As a developer
  I want a little help generating my Rakefile

  Scenario: Running shoe with no arguments in an empty directory
    Given I have created a directory called "my_project"
    And I have created a file called "my_project/Gemfile" containing:
      """
      source :rubygems
      gem 'shoe', :group => :development
      """
    When I run bundle exec shoe . inside "my_project"
    Then I should see a file "my_project/Rakefile"
    And I should see a file "my_project/README.rdoc"
    And I should see a file "my_project/lib/my_project/version.rb"
    And I should see a file "my_project/my_project.gemspec"

  Scenario: Running shoe with no arguments in a directory that already has a Rakefile
    Given I have created a directory called "my_project"
    And I have created a file called "my_project/Gemfile" containing:
      """
      source :rubygems
      gem 'shoe', :group => :development
      """
    And I have created a file called "my_project/Rakefile" containing "# RAKEFILE CONTENTS"
    When I run bundle exec shoe . inside "my_project"
    Then I should see "Rakefile exists. Not clobbering." on standard error
    And the contents of "my_project/Rakefile" should still be "# RAKEFILE CONTENTS"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shoe-0.5.1 features/getting_started.feature
shoe-0.5.0 features/getting_started.feature