summaryrefslogtreecommitdiff
path: root/spec/unit/provider/service/simple_service_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/provider/service/simple_service_spec.rb')
-rw-r--r--spec/unit/provider/service/simple_service_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/provider/service/simple_service_spec.rb b/spec/unit/provider/service/simple_service_spec.rb
index 83ebcb688f..895c559dff 100644
--- a/spec/unit/provider/service/simple_service_spec.rb
+++ b/spec/unit/provider/service/simple_service_spec.rb
@@ -82,13 +82,13 @@ NOMOCKINGSTRINGSPLZ
@status = double("Status", :exitstatus => 0, :stdout => @stdout)
allow(@provider).to receive(:shell_out!).and_return(@status)
@provider.load_current_resource
- expect(@current_resource.running).to be_true
+ expect(@current_resource.running).to be_truthy
end
it "should set running to false if the regex doesn't match" do
allow(@provider).to receive(:shell_out!).and_return(@status)
@provider.load_current_resource
- expect(@current_resource.running).to be_false
+ expect(@current_resource.running).to be_falsey
end
it "should raise an exception if ps fails" do