[DRE-commits] [librarian-puppet] 35/153: Implement metadata syntax for Puppetfile. Fix test

Stig Sandbeck Mathisen ssm at debian.org
Wed Jun 1 20:30:37 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 6af11fc021fb2102d270f6ca3fc6d9076fb3e1b4
Author: Carlos Sanchez <csanchez at maestrodev.com>
Date:   Fri Aug 1 17:11:06 2014 +0200

    Implement metadata syntax for Puppetfile. Fix test
---
 features/install/git.feature | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/features/install/git.feature b/features/install/git.feature
index 90731f4..84d45cf 100644
--- a/features/install/git.feature
+++ b/features/install/git.feature
@@ -113,11 +113,11 @@ Feature: cli/install/git
   Scenario: Install a module using metadata syntax
     Given a file named "Puppetfile" with:
     """
-    mod 'librarian/modulefile_syntax', :git => 'https://github.com/rodjek/librarian-puppet.git', :path => 'features/examples/metadata_syntax'
+    mod 'librarian/metadata_syntax', :git => 'https://github.com/rodjek/librarian-puppet.git', :path => 'features/examples/metadata_syntax'
     """
     When I run `librarian-puppet install`
     Then the exit status should be 0
-    And the file "modules/metadata_syntax/Modulefile" should match /name *'librarian-metadata_syntax'/
+    And the file "modules/metadata_syntax/metadata.json" should match /"name": "librarian-metadata_syntax"/
     And the file "modules/test/Modulefile" should match /name *'maestrodev-test'/
 
   Scenario: Install a module from git and using path

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