features/update_command.feature in berkshelf-2.0.5 vs features/update_command.feature in berkshelf-2.0.6
- old
+ new
@@ -18,11 +18,10 @@
When I successfully run `berks update`
Then the output should contain "You are using the old lockfile format. Attempting to convert..."
Then the file "Berksfile.lock" should contain JSON:
"""
{
- "sha":"b2714a4f9bdf500cb20267067160a0b3c1d8404c",
"sources":{
"berkshelf-cookbook-fixture":{
"locked_version":"0.1.0"
}
}
@@ -41,11 +40,10 @@
cookbook 'hostsfile', '~> 1.0.0'
"""
And I write to "Berksfile.lock" with:
"""
{
- "sha":"69b2e00e970d2bb6a9b1d09aeb3e6a17ef3df955",
"sources":{
"berkshelf-cookbook-fixture":{
"locked_version":"0.1.0"
},
"hostsfile":{
@@ -56,11 +54,10 @@
"""
When I successfully run `berks update`
Then the file "Berksfile.lock" should contain JSON:
"""
{
- "sha":"69b2e00e970d2bb6a9b1d09aeb3e6a17ef3df955",
"sources":{
"berkshelf-cookbook-fixture":{
"locked_version":"0.2.0"
},
"hostsfile":{
@@ -82,11 +79,10 @@
cookbook 'hostsfile', '~> 1.0.0'
"""
And I write to "Berksfile.lock" with:
"""
{
- "sha":"69b2e00e970d2bb6a9b1d09aeb3e6a17ef3df955",
"sources":{
"berkshelf-cookbook-fixture":{
"locked_version":"0.1.0"
},
"hostsfile":{
@@ -97,11 +93,10 @@
"""
And I successfully run `berks update berkshelf-cookbook-fixture`
Then the file "Berksfile.lock" should contain JSON:
"""
{
- "sha":"69b2e00e970d2bb6a9b1d09aeb3e6a17ef3df955",
"sources":{
"berkshelf-cookbook-fixture":{
"locked_version":"0.2.0"
},
"hostsfile":{
@@ -120,10 +115,9 @@
cookbook 'berkshelf-cookbook-fixture', '~> 0.1'
"""
Given I write to "Berksfile.lock" with:
"""
{
- "sha":"23150cfe61b7b86882013c8664883058560b899d",
"sources":{
"berkshelf-cookbook-fixture":{
"locked_version":"0.1.0"
}
}