Sha256: 3006c8d2fd0f21041d564a7a2dbeea32495ca021f1af7d89b11dcc1402decf76
Contents?: true
Size: 1.11 KB
Versions: 10
Compression:
Stored size: 1.11 KB
Contents
Feature: Generate helper definitions recipe I want to generate a new chef recipe for definition helpers Background: Given I am in the "rails" project folder When I run local executable "ey-recipes" with arguments "init" Scenario: Generate a new recipe When I run local executable "ey-recipes" with arguments "definition mylibrary helper1" And file "cookbooks/mylibrary/definitions/helper1.rb" is created And file "cookbooks/mylibrary/definitions/helper1.rb" contains "define :helper1 do" And I should see exactly """ exist cookbooks create cookbooks/mylibrary/definitions/helper1.rb """ Scenario: Generate a recipe that already exists When I run local executable "ey-recipes" with arguments "definition mylibrary helper1" When I run local executable "ey-recipes" with arguments "definition mylibrary helper2" And file "cookbooks/mylibrary/definitions/helper2.rb" contains "define :helper2 do" And I should see exactly """ exist cookbooks create cookbooks/mylibrary/definitions/helper2.rb """
Version data entries
10 entries across 10 versions & 1 rubygems