summaryrefslogtreecommitdiff
path: root/spec/unit/plugins/shells_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/plugins/shells_spec.rb')
-rw-r--r--spec/unit/plugins/shells_spec.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/unit/plugins/shells_spec.rb b/spec/unit/plugins/shells_spec.rb
index f70218e6..f4554189 100644
--- a/spec/unit/plugins/shells_spec.rb
+++ b/spec/unit/plugins/shells_spec.rb
@@ -19,8 +19,9 @@ require "spec_helper"
describe Ohai::System, "plugin shells" do
let(:plugin) { get_plugin("shells") }
+ let(:shell_file_content) { shell_file }
- # content from OS X 10.11
+ # content from macOS 10.15
shell_file = ["# List of acceptable shells for chpass(1).\n",
"# Ftpd will not allow users to connect who are not using\n",
"# one of these shells.\n",
@@ -32,8 +33,6 @@ describe Ohai::System, "plugin shells" do
"/bin/tcsh\n",
"/bin/zsh\n"]
- let(:shell_file_content) { shell_file }
-
it "does not set shells attribute if /etc/shells does not exist" do
allow(::File).to receive(:exist?).with("/etc/shells").and_return(false)
plugin.run