From 49b5b6ce22fcca514f616a14bfb9708652b3235d Mon Sep 17 00:00:00 2001 From: Yegor Bugayenko Date: Tue, 2 Dec 2014 07:24:08 +0200 Subject: [PATCH] #22 --version, reproduced --- features/cli.feature | 4 ++++ pdd.gemspec | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/features/cli.feature b/features/cli.feature index 92095b1..db4d3d8 100644 --- a/features/cli.feature +++ b/features/cli.feature @@ -7,6 +7,10 @@ Feature: Command Line Processing Then Exit code is zero And Stdout contains "-v, --verbose" + Scenario: Version can be printed + When I run bin/pdd with "--version" + Then Exit code is zero + Scenario: Simple puzzles collecting Given I have a "Sample.java" file with content: """ diff --git a/pdd.gemspec b/pdd.gemspec index 4b3290d..5d8095d 100644 --- a/pdd.gemspec +++ b/pdd.gemspec @@ -36,7 +36,7 @@ Gem::Specification.new do |s| s.version = PDD::VERSION s.license = 'MIT' s.summary = 'Puzzle Driven Development collector' - s.description = 'Collects puzzles from source code base' + s.description = 'Collects PDD puzzles from source code base' s.authors = ['Yegor Bugayenko'] s.email = 'yegor@teamed.io' s.homepage = 'http://github.com/teamed/pdd'