Skip to content

Commit

Permalink
Cookstyle fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Smith <tsmith@chef.io>
  • Loading branch information
tas50 committed May 23, 2018
1 parent b22608f commit 0d625be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ platforms:
- name: centos-7
- name: debian-8
- name: debian-9
- name: fedora-27
- name: fedora-28
- name: freebsd-10
- name: freebsd-11
- name: opensuse-leap-42
Expand Down
9 changes: 4 additions & 5 deletions spec/unit/recipes/default_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,10 @@
# https://github.com/sethvargo/chefspec/issues/260
stub_command('/etc/squid/conf.d').and_return(false)
stub_data_bag('squid_acls').and_return(['my-acl'])
stub_data_bag_item('squid_acls', 'my-acl').and_return({
"id": "my-acl",
"acl": [["","allow"],["","deny","!"]]
}
)
stub_data_bag_item('squid_acls', 'my-acl').and_return(
"id": 'my-acl',
"acl": [['', 'allow'], ['', 'deny', '!']]
)
end

it 'templates /etc/squid/squid.conf with content http_access allow my-acl' do
Expand Down

0 comments on commit 0d625be

Please sign in to comment.