features/install_command.feature in berkshelf-2.0.6 vs features/install_command.feature in berkshelf-2.0.7
- old
+ new
@@ -72,9 +72,21 @@
"""
Using example_cookbook (0.5.0) at '
"""
And the exit status should be 0
+ Scenario: installing a Berksfile from a remote directory that contains a path location
+ Given I write to "tmp_berks/Berksfile" with:
+ """
+ cookbook 'example_cookbook', path: '../../../spec/fixtures/cookbooks/example_cookbook-0.5.0'
+ """
+ When I successfully run `berks install -b ./tmp_berks/Berksfile`
+ Then the output should contain:
+ """
+ Using example_cookbook (0.5.0) at '
+ """
+ And the exit status should be 0
+
Scenario: installing a Berksfile that contains a Git location
Given I write to "Berksfile" with:
"""
cookbook "berkshelf-cookbook-fixture", git: "git://github.com/RiotGames/berkshelf-cookbook-fixture.git"
"""