[DRE-commits] [librarian-puppet] 122/153: Migrate tests to use metadata.json instead of Modulefile

Stig Sandbeck Mathisen ssm at debian.org
Wed Jun 1 20:30:55 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 ea60652e60eb23ab9a84ed1ba757121df6a31dde
Author: Carlos Sanchez <carlos at apache.org>
Date:   Fri May 22 09:41:00 2015 +0200

    Migrate tests to use metadata.json instead of Modulefile
---
 features/install/git.feature | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/features/install/git.feature b/features/install/git.feature
index 5037130..01fef87 100644
--- a/features/install/git.feature
+++ b/features/install/git.feature
@@ -87,8 +87,8 @@ Feature: cli/install/git
     """
     When I run `librarian-puppet install`
     Then the exit status should be 0
-    And the file "modules/with_puppetfile/Modulefile" should match /name *'librarian-with_puppetfile'/
-    And the file "modules/test/Modulefile" should match /name *'librarian-test'/
+    And the file "modules/with_puppetfile/metadata.json" should match /"name": "librarian-with_puppetfile"/
+    And the file "modules/test/metadata.json" should match /"name": "librarian-test"/
 
   @puppet2 @puppet3
   Scenario: Install a module with dependencies specified in a Puppetfile and Modulefile
@@ -161,7 +161,7 @@ Feature: cli/install/git
     """
     When I run `librarian-puppet install`
     Then the exit status should be 0
-    And the file "modules/test/Modulefile" should match /version *'0\.0\.1'/
+    And the file "modules/test/metadata.json" should match /"version": "0\.0\.1"/
     And a file named "modules/stdlib/metadata.json" should exist
 
   Scenario: Install a module from git without version
@@ -173,7 +173,7 @@ Feature: cli/install/git
     """
     When I run `librarian-puppet install`
     Then the exit status should be 0
-    And the file "modules/test/Modulefile" should match /version *'0\.0\.1'/
+    And the file "modules/test/metadata.json" should match /"version": "0\.0\.1"/
     And a file named "modules/stdlib/metadata.json" should exist
 
   @puppet2 @puppet3

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