Skip to content

Commit

Permalink
PR-54: Upgrade test dependencies, update reference platforms to ones …
Browse files Browse the repository at this point in the history
…we support.
  • Loading branch information
benpatterson committed Jan 8, 2019
1 parent dffd2c3 commit ba93ea8
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ LineLength:
Enabled: false
Metrics/BlockNesting:
Enabled: false
Style/IfUnlessModifier:
Enabled: false
8 changes: 4 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
source 'https://rubygems.org'

gem 'chefspec', '= 7.1.1'
gem 'chefspec', '= 7.3.4'
gem 'berkshelf', '= 6.3.1'
gem 'rubocop', '= 0.52.1'
gem 'foodcritic', '= 13.1.1'
gem 'rubocop', '= 0.61.1'
gem 'foodcritic', '= 15.1.0'
gem 'cucumber-core', '= 3.2.1'
gem 'serverspec', '= 2.41.3'
gem 'stove', '= 6.0.0'
gem 'stove', '= 6.1.1'
gem 'test-kitchen', '= 1.20.0'
gem 'kitchen-vagrant', '= 1.3.0'

Expand Down
2 changes: 1 addition & 1 deletion spec/default_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
let(:chef_run) do
ChefSpec::SoloRunner.new(
platform: 'redhat',
version: '6.6'
version: '6.8'
) do |node|
node.normal['threatstack']['deploy_key'] = 'ABCD1234'
node.normal['threatstack']['feature_plan'] = 'investigate'
Expand Down
7 changes: 4 additions & 3 deletions spec/repo_spec.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
require 'spec_helper'

describe 'threatstack::default' do
# Needs update
context 'debian-wheezy' do
let(:chef_run) do
runner = ChefSpec::SoloRunner.new(
platform: 'debian',
version: '7.8'
version: '8.8'
) do |node|
node.normal['threatstack']['deploy_key'] = 'ABCD1234'
node.normal['threatstack']['feature_plan'] = 'investigate'
Expand Down Expand Up @@ -66,7 +67,7 @@
let(:chef_run) do
runner = ChefSpec::SoloRunner.new(
platform: 'redhat',
version: '6.5'
version: '6.8'
) do |node|
node.normal['threatstack']['deploy_key'] = 'ABCD1234'
node.normal['threatstack']['feature_plan'] = 'investigate'
Expand All @@ -91,7 +92,7 @@
let(:chef_run) do
runner = ChefSpec::SoloRunner.new(
platform: 'centos',
version: '6.5'
version: '6.8'
) do |node|
node.normal['threatstack']['deploy_key'] = 'ABCD1234'
node.normal['threatstack']['feature_plan'] = 'investigate'
Expand Down

0 comments on commit ba93ea8

Please sign in to comment.