summaryrefslogtreecommitdiff
path: root/spec/functional/resource
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-11-14 14:34:02 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-11-14 14:34:02 -0800
commitf144a985e44a8f3acf0275eeeae6739de200d0f8 (patch)
tree2bbe49bc8e2f7a54fbdf887ba27a2a656c178753 /spec/functional/resource
parented93e0fb1644643cb0d064776b3283401dfba9a7 (diff)
downloadchef-f144a985e44a8f3acf0275eeeae6739de200d0f8.tar.gz
fixes Style/Semicolon coplcg/style-semicolon
these all seem like useless uses of semicolons. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/functional/resource')
-rw-r--r--spec/functional/resource/registry_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/functional/resource/registry_spec.rb b/spec/functional/resource/registry_spec.rb
index a7748fa4e7..5c97626c78 100644
--- a/spec/functional/resource/registry_spec.rb
+++ b/spec/functional/resource/registry_spec.rb
@@ -112,9 +112,9 @@ describe Chef::Resource::RegistryKey, :windows_only, :broken => true do
@node.name("windowsbox")
@rest_client = double("Chef::ServerAPI (mock)")
- allow(@rest_client).to receive(:create_url).and_return("reports/nodes/windowsbox/runs/#{@run_id}");
- allow(@rest_client).to receive(:raw_http_request).and_return({ "result" => "ok" });
- allow(@rest_client).to receive(:post_rest).and_return({ "uri" => "https://example.com/reports/nodes/windowsbox/runs/#{@run_id}" });
+ allow(@rest_client).to receive(:create_url).and_return("reports/nodes/windowsbox/runs/#{@run_id}")
+ allow(@rest_client).to receive(:raw_http_request).and_return({ "result" => "ok" })
+ allow(@rest_client).to receive(:post_rest).and_return({ "uri" => "https://example.com/reports/nodes/windowsbox/runs/#{@run_id}" })
@resource_reporter = Chef::ResourceReporter.new(@rest_client)
@events.register(@resource_reporter)