Sha256: e37b8e0d9777b47d1a6bc639021d1221d5aafc6e5c0bb3e8a71e5ae145aa609b

Contents?: true

Size: 860 Bytes

Versions: 4

Compression:

Stored size: 860 Bytes

Contents

Feature: Project creation
  In order to quickly start flexing my brain muscles
  as a Ruby developer, I need to create an empty
  kata project with one command
  
  Scenario: Create a kata project
    Given I wish to create a kata for StringCalculator
    When I run `newkata StringCalculator`
    Then the following files should exist:
    | stringcalculator/Gemfile   |
    | stringcalculator/Guardfile |
    And the file "stringcalculator/lib/stringcalculator.rb" should contain "class StringCalculator"
    And the file "stringcalculator/spec/stringcalculator_spec.rb" should contain "describe StringCalculator"

  Scenario: Specify a lower-cased name
    When I run `newkata stringcalculator`
    Then the output should contain "The name argument must be usable as a Ruby class name"

      
  #  LocalWords:  StringCalculator stringcalculator newkata
  

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
newkata-0.8.8 features/creation.feature
newkata-0.8.6 features/creation.feature
newkata-0.8.5 features/creation.feature
newkata-0.8.3 features/creation.feature