summaryrefslogtreecommitdiff
path: root/spec/unit/provider/service/freebsd_service_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/provider/service/freebsd_service_spec.rb')
-rw-r--r--spec/unit/provider/service/freebsd_service_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/provider/service/freebsd_service_spec.rb b/spec/unit/provider/service/freebsd_service_spec.rb
index eb55fac820..91d2d8e063 100644
--- a/spec/unit/provider/service/freebsd_service_spec.rb
+++ b/spec/unit/provider/service/freebsd_service_spec.rb
@@ -172,14 +172,14 @@ PS_SAMPLE
it "should set running to true" do
allow(provider).to receive(:shell_out!).and_return(status)
provider.determine_current_status!
- expect(current_resource.running).to be_true
+ expect(current_resource.running).to be_truthy
end
end
it "should set running to false if the regex doesn't match" do
allow(provider).to receive(:shell_out!).and_return(status)
provider.determine_current_status!
- expect(current_resource.running).to be_false
+ expect(current_resource.running).to be_falsey
end
it "should set running to nil if ps fails" do