features/json_formatter.feature in berkshelf-6.2.0 vs features/json_formatter.feature in berkshelf-6.2.1

- old
+ new

@@ -1,35 +1,33 @@ Feature: --format json Background: - * the Berkshelf API server's cache is empty * the Chef Server is empty * the cookbook store is empty Scenario: JSON output installing a cookbook from the default location Given I have a Berksfile pointing at the local Berkshelf API with: """ cookbook 'berkshelf', '1.0.0' """ And the Chef Server has cookbooks: | berkshelf | 1.0.0 | - And the Berkshelf API server's cache is up to date When I successfully run `berks install --format json` Then the output should contain JSON: """ { "cookbooks": [ { - "api_source": "http://127.0.0.1:26210", - "location_path": "http://localhost:26310/", + "api_source": "http://127.0.0.1:26310", + "location_path": "http://127.0.0.1:26310/cookbooks/berkshelf/1.0.0", "version": "1.0.0", "name": "berkshelf" } ], "errors": [], "messages": [ "Resolving cookbook dependencies...", - "Fetching cookbook index from http://127.0.0.1:26210..." + "Fetching cookbook index from http://127.0.0.1:26310..." ], "warnings": [] } """ @@ -51,11 +49,11 @@ } ], "errors": [], "messages": [ "Resolving cookbook dependencies...", - "Fetching cookbook index from http://127.0.0.1:26210..." + "Fetching cookbook index from http://127.0.0.1:26310..." ], "warnings": [] } """ @@ -126,11 +124,10 @@ | seth | 0.1.0 | And the Chef Server has cookbooks: | seth | 0.1.0 | | seth | 0.2.9 | | seth | 1.0.0 | - And the Berkshelf API server's cache is up to date And I have a Berksfile pointing at the local Berkshelf API with: """ cookbook 'seth', '~> 0.1' """ And I write to "Berksfile.lock" with: @@ -147,10 +144,10 @@ { "cookbooks": [ { "local": "0.1.0", "remote": { - "http://127.0.0.1:26210": "0.2.9" + "http://127.0.0.1:26310": "0.2.9" }, "name": "seth" } ], "errors": [],