summaryrefslogtreecommitdiff
path: root/spec/unit/resource/service_spec.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2017-03-16 19:10:58 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2017-03-17 09:05:14 -0700
commit202d186bc38b38d119497e0d013767882655fdd8 (patch)
treed2b4064246aedcaaff8c98ecc2e79691300f2577 /spec/unit/resource/service_spec.rb
parent0dfb6b354bf7d81dadc3cdfdee343272cb52009f (diff)
downloadchef-202d186bc38b38d119497e0d013767882655fdd8.tar.gz
fix specs broken by removal of state method
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/unit/resource/service_spec.rb')
-rw-r--r--spec/unit/resource/service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/resource/service_spec.rb b/spec/unit/resource/service_spec.rb
index 8d661e2a7a..205282b99f 100644
--- a/spec/unit/resource/service_spec.rb
+++ b/spec/unit/resource/service_spec.rb
@@ -166,7 +166,7 @@ describe Chef::Resource::Service do
end
it "describes its state" do
- state = @resource.state
+ state = @resource.state_for_resource_reporter
expect(state[:enabled]).to eql(true)
expect(state[:running]).to eql(false)
end