Skip to content

Instantly share code, notes, and snippets.

@hartmantis
Created January 15, 2014 20:18
Show Gist options
  • Save hartmantis/8443728 to your computer and use it in GitHub Desktop.
Save hartmantis/8443728 to your computer and use it in GitHub Desktop.
$ rake acceptance
/usr/local/Cellar/ruby/1.9.3-p194/bin/ruby -S bundle exec cucumber --color --format progress --strict --tags ~@wip
/usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/gems/1.9.1/gems/community-zero-2.0.1/lib/community_zero/server.rb:33: warning: already initialized constant DEFAULT_OPTIONS
............F...F-....F-...............................F-..................F-...................................................................................
(::) failed steps (::)
expected "ERROR Cli: Stove experienced an error!\nERROR Cli: RuntimeError\nERROR Cli: can't modify frozen String\nERROR Cli: /usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/1.9.1/rubygems/version.rb:191:in `strip!'\n/usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/1.9.1/rubygems/version.rb:191:in `initialize'\n/Users/jhartman/GitHubRepos/stove/lib/stove/actions/bump.rb:11:in `new'\n/Users/jhartman/GitHubRepos/stove/lib/stove/actions/bump.rb:11:in `block in <class:Bump>'\n/Users/jhartman/GitHubRepos/stove/lib/stove/validator.rb:55:in `instance_eval'\n/Users/jhartman/GitHubRepos/stove/lib/stove/validator.rb:55:in `block in run'\n/Users/jhartman/GitHubRepos/stove/lib/stove/mixins/insideable.rb:10:in `chdir'\n/Users/jhartman/GitHubRepos/stove/lib/stove/mixins/insideable.rb:10:in `inside'\n/Users/jhartman/GitHubRepos/stove/lib/stove/validator.rb:53:in `run'\n/Users/jhartman/GitHubRepos/stove/lib/stove/runner.rb:79:in `block in run_validations'\n/Users/jhartman/GitHubRepos/stove/lib/stove/runner.rb:73:in `each'\n/Users/jhartman/GitHubRepos/stove/lib/stove/runner.rb:73:in `run_validations'\n/Users/jhartman/GitHubRepos/stove/lib/stove/runner.rb:35:in `run'\n/Users/jhartman/GitHubRepos/stove/lib/stove/mixins/instanceable.rb:19:in `method_missing'\n/Users/jhartman/GitHubRepos/stove/lib/stove/cli.rb:40:in `execute!'\n/Users/jhartman/GitHubRepos/stove/bin/bake:4:in `<main>'\n" to include "bump to is less than the existing version"
Diff:
@@ -1,2 +1,20 @@
-bump to is less than the existing version
+ERROR Cli: Stove experienced an error!
+ERROR Cli: RuntimeError
+ERROR Cli: can't modify frozen String
+ERROR Cli: /usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/1.9.1/rubygems/version.rb:191:in `strip!'
+/usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/1.9.1/rubygems/version.rb:191:in `initialize'
+/Users/jhartman/GitHubRepos/stove/lib/stove/actions/bump.rb:11:in `new'
+/Users/jhartman/GitHubRepos/stove/lib/stove/actions/bump.rb:11:in `block in <class:Bump>'
+/Users/jhartman/GitHubRepos/stove/lib/stove/validator.rb:55:in `instance_eval'
+/Users/jhartman/GitHubRepos/stove/lib/stove/validator.rb:55:in `block in run'
+/Users/jhartman/GitHubRepos/stove/lib/stove/mixins/insideable.rb:10:in `chdir'
+/Users/jhartman/GitHubRepos/stove/lib/stove/mixins/insideable.rb:10:in `inside'
+/Users/jhartman/GitHubRepos/stove/lib/stove/validator.rb:53:in `run'
+/Users/jhartman/GitHubRepos/stove/lib/stove/runner.rb:79:in `block in run_validations'
+/Users/jhartman/GitHubRepos/stove/lib/stove/runner.rb:73:in `each'
+/Users/jhartman/GitHubRepos/stove/lib/stove/runner.rb:73:in `run_validations'
+/Users/jhartman/GitHubRepos/stove/lib/stove/runner.rb:35:in `run'
+/Users/jhartman/GitHubRepos/stove/lib/stove/mixins/instanceable.rb:19:in `method_missing'
+/Users/jhartman/GitHubRepos/stove/lib/stove/cli.rb:40:in `execute!'
+/Users/jhartman/GitHubRepos/stove/bin/bake:4:in `<main>'
(RSpec::Expectations::ExpectationNotMetError)
./features/step_definitions/cucumber_steps.rb:11:in `/^it should (pass|fail) with "(.+)"$/'
features/actions/bump.feature:13:in `* it should fail with "bump to is less than the existing version"'
Exit status was 244 but expected it to be 0. Output:
ERROR Cli: Stove experienced an error!
ERROR Cli: RuntimeError
ERROR Cli: can't modify frozen String
ERROR Cli: /usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/1.9.1/rubygems/version.rb:191:in `strip!'
/usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/1.9.1/rubygems/version.rb:191:in `initialize'
/Users/jhartman/GitHubRepos/stove/lib/stove/actions/bump.rb:11:in `new'
/Users/jhartman/GitHubRepos/stove/lib/stove/actions/bump.rb:11:in `block in <class:Bump>'
/Users/jhartman/GitHubRepos/stove/lib/stove/validator.rb:55:in `instance_eval'
/Users/jhartman/GitHubRepos/stove/lib/stove/validator.rb:55:in `block in run'
/Users/jhartman/GitHubRepos/stove/lib/stove/mixins/insideable.rb:10:in `chdir'
/Users/jhartman/GitHubRepos/stove/lib/stove/mixins/insideable.rb:10:in `inside'
/Users/jhartman/GitHubRepos/stove/lib/stove/validator.rb:53:in `run'
/Users/jhartman/GitHubRepos/stove/lib/stove/runner.rb:79:in `block in run_validations'
/Users/jhartman/GitHubRepos/stove/lib/stove/runner.rb:73:in `each'
/Users/jhartman/GitHubRepos/stove/lib/stove/runner.rb:73:in `run_validations'
/Users/jhartman/GitHubRepos/stove/lib/stove/runner.rb:35:in `run'
/Users/jhartman/GitHubRepos/stove/lib/stove/mixins/instanceable.rb:19:in `method_missing'
/Users/jhartman/GitHubRepos/stove/lib/stove/cli.rb:40:in `execute!'
/Users/jhartman/GitHubRepos/stove/bin/bake:4:in `<main>'
(RSpec::Expectations::ExpectationNotMetError)
features/actions/bump.feature:16:in `* I successfully run `bake 2.0.0 --bump`'
Exit status was 244 but expected it to be 0. Output:
ERROR Cli: Stove experienced an error!
ERROR Cli: RuntimeError
ERROR Cli: can't modify frozen String
ERROR Cli: /usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/1.9.1/rubygems/version.rb:191:in `strip!'
/usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/1.9.1/rubygems/version.rb:191:in `initialize'
/Users/jhartman/GitHubRepos/stove/lib/stove/actions/bump.rb:11:in `new'
/Users/jhartman/GitHubRepos/stove/lib/stove/actions/bump.rb:11:in `block in <class:Bump>'
/Users/jhartman/GitHubRepos/stove/lib/stove/validator.rb:55:in `instance_eval'
/Users/jhartman/GitHubRepos/stove/lib/stove/validator.rb:55:in `block in run'
/Users/jhartman/GitHubRepos/stove/lib/stove/mixins/insideable.rb:10:in `chdir'
/Users/jhartman/GitHubRepos/stove/lib/stove/mixins/insideable.rb:10:in `inside'
/Users/jhartman/GitHubRepos/stove/lib/stove/validator.rb:53:in `run'
/Users/jhartman/GitHubRepos/stove/lib/stove/runner.rb:79:in `block in run_validations'
/Users/jhartman/GitHubRepos/stove/lib/stove/runner.rb:73:in `each'
/Users/jhartman/GitHubRepos/stove/lib/stove/runner.rb:73:in `run_validations'
/Users/jhartman/GitHubRepos/stove/lib/stove/runner.rb:35:in `run'
/Users/jhartman/GitHubRepos/stove/lib/stove/mixins/instanceable.rb:19:in `method_missing'
/Users/jhartman/GitHubRepos/stove/lib/stove/cli.rb:40:in `execute!'
/Users/jhartman/GitHubRepos/stove/bin/bake:4:in `<main>'
(RSpec::Expectations::ExpectationNotMetError)
features/actions/bump.feature:21:in `* I successfully run `bake 1.0.0 --bump --git`'
Exit status was 244 but expected it to be 0. Output:
ERROR Cli: Stove experienced an error!
ERROR Cli: RuntimeError
ERROR Cli: can't modify frozen String
ERROR Cli: /usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/1.9.1/rubygems/version.rb:191:in `strip!'
/usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/1.9.1/rubygems/version.rb:191:in `initialize'
/Users/jhartman/GitHubRepos/stove/lib/stove/actions/bump.rb:11:in `new'
/Users/jhartman/GitHubRepos/stove/lib/stove/actions/bump.rb:11:in `block in <class:Bump>'
/Users/jhartman/GitHubRepos/stove/lib/stove/validator.rb:55:in `instance_eval'
/Users/jhartman/GitHubRepos/stove/lib/stove/validator.rb:55:in `block in run'
/Users/jhartman/GitHubRepos/stove/lib/stove/mixins/insideable.rb:10:in `chdir'
/Users/jhartman/GitHubRepos/stove/lib/stove/mixins/insideable.rb:10:in `inside'
/Users/jhartman/GitHubRepos/stove/lib/stove/validator.rb:53:in `run'
/Users/jhartman/GitHubRepos/stove/lib/stove/runner.rb:79:in `block in run_validations'
/Users/jhartman/GitHubRepos/stove/lib/stove/runner.rb:73:in `each'
/Users/jhartman/GitHubRepos/stove/lib/stove/runner.rb:73:in `run_validations'
/Users/jhartman/GitHubRepos/stove/lib/stove/runner.rb:35:in `run'
/Users/jhartman/GitHubRepos/stove/lib/stove/mixins/instanceable.rb:19:in `method_missing'
/Users/jhartman/GitHubRepos/stove/lib/stove/cli.rb:40:in `execute!'
/Users/jhartman/GitHubRepos/stove/bin/bake:4:in `<main>'
(RSpec::Expectations::ExpectationNotMetError)
features/actions/changelog.feature:32:in `* I successfully run `bake 1.0.0 --changelog --bump`'
Exit status was 244 but expected it to be 0. Output:
ERROR Cli: Stove experienced an error!
ERROR Cli: RuntimeError
ERROR Cli: can't modify frozen String
ERROR Cli: /usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/1.9.1/rubygems/version.rb:191:in `strip!'
/usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/1.9.1/rubygems/version.rb:191:in `initialize'
/Users/jhartman/GitHubRepos/stove/lib/stove/actions/bump.rb:11:in `new'
/Users/jhartman/GitHubRepos/stove/lib/stove/actions/bump.rb:11:in `block in <class:Bump>'
/Users/jhartman/GitHubRepos/stove/lib/stove/validator.rb:55:in `instance_eval'
/Users/jhartman/GitHubRepos/stove/lib/stove/validator.rb:55:in `block in run'
/Users/jhartman/GitHubRepos/stove/lib/stove/mixins/insideable.rb:10:in `chdir'
/Users/jhartman/GitHubRepos/stove/lib/stove/mixins/insideable.rb:10:in `inside'
/Users/jhartman/GitHubRepos/stove/lib/stove/validator.rb:53:in `run'
/Users/jhartman/GitHubRepos/stove/lib/stove/runner.rb:79:in `block in run_validations'
/Users/jhartman/GitHubRepos/stove/lib/stove/runner.rb:73:in `each'
/Users/jhartman/GitHubRepos/stove/lib/stove/runner.rb:73:in `run_validations'
/Users/jhartman/GitHubRepos/stove/lib/stove/runner.rb:35:in `run'
/Users/jhartman/GitHubRepos/stove/lib/stove/mixins/instanceable.rb:19:in `method_missing'
/Users/jhartman/GitHubRepos/stove/lib/stove/cli.rb:40:in `execute!'
/Users/jhartman/GitHubRepos/stove/bin/bake:4:in `<main>'
(RSpec::Expectations::ExpectationNotMetError)
features/actions/dev.feature:12:in `* I successfully run `bake 2.0.0 --bump --dev`'
Failing Scenarios:
cucumber features/actions/bump.feature:11 # Scenario: When the version is not greater than the current
cucumber features/actions/bump.feature:15 # Scenario: In isolation
cucumber features/actions/bump.feature:19 # Scenario: With the git plugin
cucumber features/actions/changelog.feature:30 # Scenario: With bump
cucumber features/actions/dev.feature:11 # Scenario: With bump
23 scenarios (5 failed, 18 passed)
143 steps (5 failed, 4 skipped, 134 passed)
0m18.165s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment