Sha256: 60363e104a7a7a50a8533627332a44ef00f36350634ff30b66bf7e6a60804c82
Contents?: true
Size: 1.34 KB
Versions: 1
Compression:
Stored size: 1.34 KB
Contents
Feature: RubyGems have features to be described and tested As a RubyGem developer I want to describe the project's features using Cucumber So that I can describe each feature of the project in readable text Scenario: Install Cucumber into a RubyGem Given an existing newgem scaffold [called 'my_project'] When 'install_cucumber' generator is invoked with arguments '' Then folder 'features/steps' is created And file 'features/development.feature' is created And file 'features/steps/common.rb' is created And file 'tasks/cucumber.rake' is not created as it is loaded via newgem itself Scenario: NewGem and generated gems should share some common files Given an existing newgem scaffold [called 'my_project'] When 'install_cucumber' generator is invoked with arguments '' Then gem file 'features/steps/common.rb' and generated file 'features/steps/common.rb' should be the same Then gem file 'features/development.feature' and generated file 'features/development.feature' should be the same Scenario: Installed Cucumber includes a 'rake features' task Given an existing newgem scaffold [called 'my_project'] And 'install_cucumber' generator is invoked with arguments '' When task 'rake features' is invoked Then task 'rake features' is executed successfully And output does match /\.{6}/
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
newgem-1.2.3 | features/install_cucumber.feature |