Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Commit

Permalink
fix exists? in a spec
Browse files Browse the repository at this point in the history
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
  • Loading branch information
lamont-granquist committed May 7, 2018
1 parent 1d5ab25 commit bb4b7ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/unit/command/shell_init_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright:: Copyright (c) 2014-2018 Chef Software Inc.
# Copyright:: Copyright (c) 2014-2018, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -38,7 +38,7 @@
let(:expected_gem_path) { Gem.path.join(File::PATH_SEPARATOR) }

before do
allow(::Dir).to receive(:exists?).and_call_original
allow(::Dir).to receive(:exist?).and_call_original
end

context "with no explicit omnibus directory" do
Expand Down

0 comments on commit bb4b7ca

Please sign in to comment.