summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2017-01-23 10:05:23 -0800
committerTim Smith <tsmith@chef.io>2017-01-23 10:05:23 -0800
commit90ade0a53c3296aa268771101344616756b15a87 (patch)
tree097e7dc29b938d5596b855f39cd7506ef8ed2dc3
parentddf1d8a75320c3fa685ccab9a66856308a57b99d (diff)
downloadohai-pr/941.tar.gz
Update release notes and chefstyle fixespr/941
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--RELEASE_NOTES.md4
-rw-r--r--spec/unit/plugins/c_spec.rb3
2 files changed, 4 insertions, 3 deletions
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index a3543aec..6dc399fa 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -26,3 +26,7 @@ A new plugin parses the output of the sysconf command to provide information on
## AWS Account ID
The EC2 plugin now fetches the AWS Account ID in addition to previous instance metadata
+
+## GCC Detection
+
+GCC detection has been improved to collect additional information, and to not prompt for the installation of Xcode on macOS systems
diff --git a/spec/unit/plugins/c_spec.rb b/spec/unit/plugins/c_spec.rb
index 1b7aad96..8ddb6d71 100644
--- a/spec/unit/plugins/c_spec.rb
+++ b/spec/unit/plugins/c_spec.rb
@@ -78,7 +78,6 @@ C_HPUX = <<EOF
$ PATCH/11.00:PHCO_27774 Oct 3 2002 09:45:59 $
EOF
-
describe Ohai::System, "plugin c" do
let(:plugin) { get_plugin("c") }
@@ -90,7 +89,6 @@ describe Ohai::System, "plugin c" do
allow(plugin).to receive(:shell_out).with("gcc -v").and_return(mock_shell_out(0, "", C_GCC))
end
-
context "on HPUX" do
before(:each) do
allow(plugin).to receive(:collect_os).and_return(:hpux)
@@ -144,7 +142,6 @@ describe Ohai::System, "plugin c" do
plugin.run
end
-
end
context "on Windows" do