[DRE-commits] [ruby-aruba] 90/98: Fixed bug in rspec step
Hideki Yamane
henrich at moszumanska.debian.org
Tue Mar 22 12:20:44 UTC 2016
This is an automated email from the git hooks/post-receive script.
henrich pushed a commit to branch debian/sid
in repository ruby-aruba.
commit 4d26e4ab3451a4dd852f9c4dadd5da73c9177707
Author: Dennis Günnewig <dg1 at ratiodata.de>
Date: Thu Mar 17 13:48:10 2016 +0100
Fixed bug in rspec step
---
History.md | 4 ++++
lib/aruba/cucumber/testing_frameworks.rb | 4 ++--
lib/aruba/version.rb | 2 +-
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/History.md b/History.md
index a4a9056..889d38f 100644
--- a/History.md
+++ b/History.md
@@ -54,6 +54,10 @@
# RELEASED
+## [v0.14.1](https://github.com/cucumber/aruba/compare/v0.14.0...v0.14.1)
+
+* Fixed bug in framework step
+
## [v0.14.0](https://github.com/cucumber/aruba/compare/v0.13.0...v0.14.0)
* Add `<project_root>/exe` to search path for commands: This is the new default if you setup a
diff --git a/lib/aruba/cucumber/testing_frameworks.rb b/lib/aruba/cucumber/testing_frameworks.rb
index 00a5013..a3ff6de 100644
--- a/lib/aruba/cucumber/testing_frameworks.rb
+++ b/lib/aruba/cucumber/testing_frameworks.rb
@@ -47,10 +47,10 @@ end
# RSpec
Then /^the spec(?:s)? should( not)?(?: all)? pass with( regex)?:$/ do |negated, regex, string|
if negated
- step 'the output should contain " failed)"'
+ step 'the output should not contain "0 failures"'
step 'the exit status should be 1'
else
- step 'the output should not contain " failed)"'
+ step 'the output should contain "0 failures"'
step 'the exit status should be 0'
end
diff --git a/lib/aruba/version.rb b/lib/aruba/version.rb
index 085fbc1..4fa7a04 100644
--- a/lib/aruba/version.rb
+++ b/lib/aruba/version.rb
@@ -1,3 +1,3 @@
module Aruba
- VERSION = '0.14.0'.freeze
+ VERSION = '0.14.1'.freeze
end
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-aruba.git
More information about the Pkg-ruby-extras-commits
mailing list