[DRE-commits] [librarian-puppet] 70/97: Step 'there is no Puppetfile' is using the wrong dir
Stig Sandbeck Mathisen
ssm at debian.org
Tue Mar 11 12:12:51 UTC 2014
This is an automated email from the git hooks/post-receive script.
ssm pushed a commit to branch master
in repository librarian-puppet.
commit f91783c0bde5d259173ba5c6dea9b7a15cffbdf3
Author: Carlos Sanchez <csanchez at maestrodev.com>
Date: Mon Jan 20 13:21:11 2014 +0100
Step 'there is no Puppetfile' is using the wrong dir
---
features/support/env.rb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/features/support/env.rb b/features/support/env.rb
index b7368a5..517d197 100644
--- a/features/support/env.rb
+++ b/features/support/env.rb
@@ -21,5 +21,7 @@ Given /^PENDING/ do |x|
end
Given(/^there is no Puppetfile$/) do
- fail if (File.exist?('Puppetfile'))
+ in_current_dir do
+ fail "Puppetfile exists at #{File.expand_path('Puppetfile')}" if (File.exist?('Puppetfile'))
+ end
end
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/librarian-puppet.git
More information about the Pkg-ruby-extras-commits
mailing list