[DRE-commits] [ruby-aruba] 41/74: Now an error is raised if no command has been started previously
Hideki Yamane
henrich at moszumanska.debian.org
Sat Nov 28 01:16:39 UTC 2015
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 b6b7b4ff24154d3231f9204a93b0c20abeee87a6
Author: Dennis Günnewig <dg1 at ratiodata.de>
Date: Thu Nov 26 09:57:16 2015 +0100
Now an error is raised if no command has been started previously
---
features/api/text/replace_variables.feature | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/features/api/text/replace_variables.feature b/features/api/text/replace_variables.feature
index 7e2ad19..c570e44 100644
--- a/features/api/text/replace_variables.feature
+++ b/features/api/text/replace_variables.feature
@@ -37,7 +37,7 @@ Feature: Replace variables
require 'spec_helper'
RSpec.describe 'Run command', :type => :aruba do
- it { expect(replace_variables('<pid-last-command-started>')).to eq '0' }
+ it { expect { replace_variables('<pid-last-command-started>') }.to raise_error Aruba::NoCommandHasBeenStoppedError }
end
"""
When I run `rspec`
--
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