Skip to content

Commit

Permalink
Remove need for ark / simplified testing run_list
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 committed Nov 7, 2016
1 parent a249468 commit 676a8e1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
7 changes: 0 additions & 7 deletions .kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ platforms:
- name: centos-6.8
- name: centos-7.2
- name: debian-7.11
run_list: apt::default
- name: debian-8.5
run_list: apt::default
- name: freebsd-9.3
run_list: freebsd::portsnap
- name: freebsd-10.3
Expand All @@ -21,15 +19,10 @@ platforms:
- name: opensuse-13.2
- name: opensuse-leap-42.1
- name: ubuntu-12.04
run_list: apt::default
- name: ubuntu-14.04
run_list: apt::default
- name: ubuntu-16.04
run_list: apt::default

suites:
- name: default
run_list:
- recipe[build-essential]
- recipe[ark]
- recipe[ark_spec]
1 change: 0 additions & 1 deletion Berksfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ metadata

group :integration do
cookbook 'yum'
cookbook 'apt'
cookbook 'freebsd'
cookbook 'ark_spec', path: 'spec/fixtures/cookbooks/ark_spec'
end
5 changes: 3 additions & 2 deletions spec/fixtures/cookbooks/ark_spec/recipes/default.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# require 'fileutils'
apt_update 'update'

# remove file so we can test sending notification on its creation
include_recipe 'ark'

# remove file so we can test sending notification on its creation
FileUtils.rm_f '/tmp/foobarbaz/foo1.txt' if ::File.exist? '/tmp/foobarbaz/foo1.txt'

ruby_block 'test_notification' do
Expand Down

0 comments on commit 676a8e1

Please sign in to comment.