@provider @package @rubygems
Feature: Gem package
In order to manage software and applications that require ruby gem packages
As an OpsDev
I want to install upgrade and remove rubygems
Scenario: Installing a gem that is not installed # features/provider/package/gem_package.feature:7
Given a validated node # features/steps/node_steps.rb:22
And it includes the recipe 'packages::gem_package' # features/steps/node_steps.rb:30
And the gems server is running # features/steps/packages.rb:1
When I run the chef-client # features/steps/run_client_steps.rb:22
Then the run should exit '0' # features/steps/run_client_steps.rb:104
And the gem 'chef-integration-test' version '0.1.0' should be installed # features/steps/packages.rb:33
rm: ./features/support/../data/tmp/search_index: Directory not empty
Scenario: Upgrading a gem to a newer version # features/provider/package/gem_package.feature:15
~ Loading role_test
Given a validated node # features/steps/node_steps.rb:22
And it includes the recipe 'packages::upgrade_gem_package' # features/steps/node_steps.rb:30
And the gems server is running # features/steps/packages.rb:1
When I run the chef-client # features/steps/run_client_steps.rb:22
Then the run should exit '0' # features/steps/run_client_steps.rb:104
And the gem 'chef-integration-test' version '0.1.0' should be installed # features/steps/packages.rb:33
And the gem 'chef-integration-test' version '0.1.1' should be installed # features/steps/packages.rb:33
Scenario: Upgrading a gem manually by specifying a different version # features/provider/package/gem_package.feature:25
~ Loading role_test
Given a validated node # features/steps/node_steps.rb:22
And it includes the recipe 'packages::manually_upgrade_gem_package' # features/steps/node_steps.rb:30
And the gems server is running # features/steps/packages.rb:1
When I run the chef-client # features/steps/run_client_steps.rb:22
Then the run should exit '0' # features/steps/run_client_steps.rb:104
And the gem 'chef-integration-test' version '0.1.0' should be installed # features/steps/packages.rb:33
And the gem 'chef-integration-test' version '0.1.1' should be installed # features/steps/packages.rb:33
3 scenarios (3 passed)
20 steps (20 passed)
0m59.284s