features/config.feature in berkshelf-4.3.5 vs features/config.feature in berkshelf-5.0.0
- old
+ new
@@ -1,33 +1,33 @@
Feature: Reading a Berkshelf configuration file
Scenario: Missing a Berkshelf configuration file
When I successfully run `berks cookbook sparkle_motion`
Then the resulting "sparkle_motion" Vagrantfile should contain:
| config.omnibus.chef_version = 'latest' |
- | config.vm.box = 'chef/ubuntu-14.04' |
+ | config.vm.box = 'bento/ubuntu-14.04' |
Scenario: Using a Berkshelf configuration file that sets the vagrant-omnibus plugin chef version
Given I have a Berkshelf config file containing:
"""
{
"vagrant": {
"omnibus": {
"version": "11.4.4"
},
"vm": {
- "box": "chef/ubuntu-14.04",
+ "box": "bento/ubuntu-14.04",
"forward_port": {
"12345": "54321"
}
}
}
}
"""
When I successfully run `berks cookbook sparkle_motion`
Then the resulting "sparkle_motion" Vagrantfile should contain:
| config.omnibus.chef_version = '11.4.4' |
- | config.vm.box = 'chef/ubuntu-14.04' |
+ | config.vm.box = 'bento/ubuntu-14.04' |
| config.vm.network :forwarded_port, guest: 12345, host: 54321 |
| config.vm.network :private_network, type: 'dhcp' |
And the exit status should be 0
Scenario: Using a Berkshelf configuration file that sets the vagrant-omnibus plugin chef version to latest
@@ -37,21 +37,21 @@
"vagrant": {
"omnibus": {
"version": "latest"
},
"vm": {
- "box": "chef/ubuntu-14.04",
+ "box": "bento/ubuntu-14.04",
"forward_port": {
"12345": "54321"
}
}
}
}
"""
When I successfully run `berks cookbook sparkle_motion`
Then the resulting "sparkle_motion" Vagrantfile should contain:
| config.omnibus.chef_version = 'latest' |
- | config.vm.box = 'chef/ubuntu-14.04' |
+ | config.vm.box = 'bento/ubuntu-14.04' |
| config.vm.network :forwarded_port, guest: 12345, host: 54321 |
| config.vm.network :private_network, type: 'dhcp' |
Scenario: Using a partial Berkshelf configuration file
Given I have a Berkshelf config file containing: