Skip to content

Commit

Permalink
fixing unit test for chef 13,14 as node.set is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
majormoses committed Jun 5, 2018
1 parent eb3db0d commit dc4fb9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/default_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
let(:chef_run) do
ChefSpec::ServerRunner.new(:platform => "redhat", :version => "7.3") do |node, server|
server.create_data_bag("sensu", ssl_data_bag_item)
node.set["sensu"]["yum_repo_releasever"] = "dory"
node.override["sensu"]["yum_repo_releasever"] = "dory"
end.converge(described_recipe)
end

Expand Down

0 comments on commit dc4fb9d

Please sign in to comment.