[DRE-commits] [librarian-puppet] 12/153: Refactor test to work with 1.0.x

Stig Sandbeck Mathisen ssm at debian.org
Wed Jun 1 20:30:33 UTC 2016


This is an automated email from the git hooks/post-receive script.

ssm pushed a commit to branch master
in repository librarian-puppet.

commit 85b057fcd09e7c98b91d52dddf75568b8eb43481
Author: Carlos Sanchez <csanchez at maestrodev.com>
Date:   Mon Jun 16 12:22:51 2014 +0200

    Refactor test to work with 1.0.x
---
 features/install/forge.feature | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/features/install/forge.feature b/features/install/forge.feature
index 2802adc..bf02fb1 100644
--- a/features/install/forge.feature
+++ b/features/install/forge.feature
@@ -117,7 +117,10 @@ Feature: cli/install/forge
     """
     When I run `librarian-puppet install`
     Then the exit status should be 1
-    And the output should contain "Unable to find module 'puppetlabs/xxxxx' on https://forgeapi.puppetlabs.com"
+    And the output should match:
+      """
+      Unable to find module 'puppetlabs/xxxxx' on http(s)?://forge(api)?.puppetlabs.com
+      """
 
   Scenario: Install a module with conflicts
     Given a file named "Puppetfile" with:

-- 
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