Skip to content

Commit

Permalink
Update some comment formatting.
Browse files Browse the repository at this point in the history
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
  • Loading branch information
phiggins committed Jun 21, 2017
1 parent cca2972 commit f3d40b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions omnibus/files/private-chef-ctl-commands/spec/secrets_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def credentials
end
end

#this is an unlikely scenario, but worth guarding against confusing messaging about restarting services that are not installed/enabled
# This is an unlikely scenario, but worth guarding against confusing messaging about restarting services that are not installed/enabled.
context "when an enabled service and a not-enabled service depend on the changed secret" do
before do
allow(veil_creds).to receive(:add).with("bookshelf", "access_key_id", {:value=>"new_key", :frozen=>true, :force=>true})
Expand All @@ -86,7 +86,7 @@ def credentials
end
end

#also unlikely that we'd change a secret for a not-enabled service
# Also unlikely that we'd change a secret for a not-enabled service.
context "when only non-enabled services depend on the changed secret" do
before do
allow(veil_creds).to receive(:add).with("opscode-reporting", "rabbitmq_password", {:value=>"new_key", :frozen=>true, :force=>true})
Expand All @@ -108,7 +108,7 @@ def credentials
end
end

#chef-manage follows a different path as it has several of its own services
# chef-manage follows a different path as it has several of its own services.
context "when chef-manage depends on the changed secret and is installed" do
before do
allow(veil_creds).to receive(:add).with("manage", "secret_key_base", {:value=>"new_key", :frozen=>true, :force=>true})
Expand Down

0 comments on commit f3d40b2

Please sign in to comment.