summaryrefslogtreecommitdiff
path: root/spec/unit/mixin/homebrew_user_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/mixin/homebrew_user_spec.rb')
-rw-r--r--spec/unit/mixin/homebrew_user_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/mixin/homebrew_user_spec.rb b/spec/unit/mixin/homebrew_user_spec.rb
index 67d79719aa..df89962cce 100644
--- a/spec/unit/mixin/homebrew_user_spec.rb
+++ b/spec/unit/mixin/homebrew_user_spec.rb
@@ -56,7 +56,7 @@ describe Chef::Mixin::HomebrewUser do
context "debug statement prints owner name" do
before do
- expect(Etc).to receive(:getpwuid).with(brew_owner).and_return(OpenStruct.new(:name => "name"))
+ expect(Etc).to receive(:getpwuid).with(brew_owner).and_return(OpenStruct.new(name: "name"))
end
it "returns the owner of the brew executable when it is at a default location" do