features/upload_command.feature in berkshelf-0.6.0.beta2 vs features/upload_command.feature in berkshelf-0.6.0.beta3
- old
+ new
@@ -1,11 +1,11 @@
Feature: upload command
As a Berkshelf CLI user
I need a way to upload cookbooks to a Chef server that I have installed into my Bookshelf
So they are available to Chef clients
- @no_run @slow_process
+ @no_run @chef_server
Scenario: running the upload command when the Sources in the Berksfile are already installed
Given I write to "Berksfile" with:
"""
cookbook "mysql", "1.2.4"
"""
@@ -21,11 +21,11 @@
And the Chef server should have the cookbooks:
| mysql | 1.2.4 |
| openssl | 1.0.0 |
And the exit status should be 0
- @slow_process
+ @chef_server
Scenario: running the upload command when the Sources in the Berksfile have not been installed
Given I write to "Berksfile" with:
"""
cookbook "mysql", "1.2.4"
"""
@@ -40,11 +40,11 @@
And the Chef server should have the cookbooks:
| mysql | 1.2.4 |
| openssl | 1.0.0 |
And the exit status should be 0
- @slow_process
+ @chef_server
Scenario: running the upload command with a Berksfile containing a source that has a path location
Given a Berksfile with path location sources to fixtures:
| example_cookbook | example_cookbook-0.5.0 |
And the Chef server does not have the cookbooks:
| example_cookbook | 0.5.0 |
@@ -53,10 +53,10 @@
And the output should contain "Uploading example_cookbook (0.5.0) to:"
And the Chef server should have the cookbooks:
| example_cookbook | 0.5.0 |
And the exit status should be 0
- @slow_process
+ @chef_server
Scenario: running the upload command with a Berksfile containing a source that has a Git location
Given I write to "Berksfile" with:
"""
cookbook "artifact", git: "git://github.com/RiotGames/artifact-cookbook.git", ref: "0.9.8"
"""