diff options
Diffstat (limited to 'spec/unit')
-rw-r--r-- | spec/unit/provider/service/macosx_spec.rb | 2 | ||||
-rw-r--r-- | spec/unit/resource_reporter_spec.rb | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/spec/unit/provider/service/macosx_spec.rb b/spec/unit/provider/service/macosx_spec.rb index 12f97431ba..c9dd629187 100644 --- a/spec/unit/provider/service/macosx_spec.rb +++ b/spec/unit/provider/service/macosx_spec.rb @@ -322,7 +322,7 @@ SVC_LIST it "stops and then starts service" do expect(provider).to receive(:unload_service) - expect(provider).to receive(:load_service); + expect(provider).to receive(:load_service) provider.restart_service end diff --git a/spec/unit/resource_reporter_spec.rb b/spec/unit/resource_reporter_spec.rb index 51075a7d44..f951c62b94 100644 --- a/spec/unit/resource_reporter_spec.rb +++ b/spec/unit/resource_reporter_spec.rb @@ -92,8 +92,8 @@ describe Chef::ResourceReporter do context "when chef fails" do before do - allow(@rest_client).to receive(:raw_request).and_return({ "result" => "ok" }); - allow(@rest_client).to receive(:post).and_return({ "uri" => "https://example.com/reports/nodes/spitfire/runs/#{@run_id}" }); + allow(@rest_client).to receive(:raw_request).and_return({ "result" => "ok" }) + allow(@rest_client).to receive(:post).and_return({ "uri" => "https://example.com/reports/nodes/spitfire/runs/#{@run_id}" }) end @@ -259,8 +259,8 @@ describe Chef::ResourceReporter do describe "when generating a report for the server" do before do - allow(@rest_client).to receive(:raw_request).and_return({ "result" => "ok" }); - allow(@rest_client).to receive(:post).and_return({ "uri" => "https://example.com/reports/nodes/spitfire/runs/#{@run_id}" }); + allow(@rest_client).to receive(:raw_request).and_return({ "result" => "ok" }) + allow(@rest_client).to receive(:post).and_return({ "uri" => "https://example.com/reports/nodes/spitfire/runs/#{@run_id}" }) @resource_reporter.run_started(@run_status) end |