Permalink
Browse files

Remove duplication of version number

  • Loading branch information...
1 parent 63f1e2a commit ff40053c5d10e5fd7fd0d1fb6b6274dd38072148 @brynary committed Oct 20, 2009
Showing with 2 additions and 2 deletions.
  1. +1 −1 features/cli.feature
  2. +1 −1 lib/testjour/commands/version.rb
@@ -8,7 +8,7 @@ Feature: testjour CLI
When I run `testjour --version`
Then it should not print to stderr
- And it should pass with "testjour 0.3"
+ And it should pass with "testjour 0.3.1"
Scenario: Print help information
When I run `testjour --help`
@@ -6,7 +6,7 @@ module Commands
class Version < Command
def execute
- @out_stream.puts "testjour 0.3"
+ @out_stream.puts "testjour #{VERSION}"
end
end

0 comments on commit ff40053

Please sign in to comment.