Unverified Commit d59f86b0 authored by Lance Albertson's avatar Lance Albertson Committed by GitHub

Merge pull request #144 from sous-chefs/automated/cookstyle

Automated PR: Cookstyle Changes
parents d27d8079 33dbfa60
# Changelog
## Unreleased
- resolved cookstyle error: spec/unit/recipes/agent_spec.rb:5:31 convention: `Style/ExpandPathArguments`
- resolved cookstyle error: spec/unit/recipes/client_spec.rb:5:31 convention: `Style/ExpandPathArguments`
- resolved cookstyle error: spec/unit/recipes/server_spec.rb:5:31 convention: `Style/ExpandPathArguments`
## 1.2.2 - 2020-05-14
- resolved cookstyle error: recipes/common.rb:20:35 convention: `Layout/TrailingWhitespace`
......
......@@ -2,7 +2,7 @@ require 'spec_helper'
require 'json'
describe 'ossec::agent' do
let(:data_bags_path) { File.expand_path('../../../../test/fixtures/data_bags', __FILE__) }
let(:data_bags_path) { File.expand_path('../../../test/fixtures/data_bags', __dir__) }
let(:data_bag_ossec_ssh) { JSON.parse(File.read("#{data_bags_path}/ossec/ssh.json")) }
cached(:chef_run) do
......
......@@ -2,7 +2,7 @@ require 'spec_helper'
require 'json'
describe 'ossec::client' do
let(:data_bags_path) { File.expand_path('../../../../test/fixtures/data_bags', __FILE__) }
let(:data_bags_path) { File.expand_path('../../../test/fixtures/data_bags', __dir__) }
let(:data_bag_ossec_ssh) { JSON.parse(File.read("#{data_bags_path}/ossec/ssh.json")) }
cached(:chef_run) do
......
......@@ -2,7 +2,7 @@ require 'spec_helper'
require 'json'
describe 'ossec::server' do
let(:data_bags_path) { File.expand_path('../../../../test/fixtures/data_bags', __FILE__) }
let(:data_bags_path) { File.expand_path('../../../test/fixtures/data_bags', __dir__) }
let(:data_bag_ossec_ssh) { JSON.parse(File.read("#{data_bags_path}/ossec/ssh.json")) }
cached(:chef_run) do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment