Skip to content

Commit

Permalink
Corrected test for access_lock_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
mansimarkaur committed Apr 7, 2017
1 parent fda4191 commit 7e455a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/test/diagnostic_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
mode = HOMEBREW_LOCK_DIR.stat.mode & 0777
HOMEBREW_LOCK_DIR.chmod 0555

expect(subject.check_access_logs)
expect(subject.check_access_lock_dir)
.to match("#{HOMEBREW_LOCK_DIR} isn't writable.")
ensure
HOMEBREW_LOCK_DIR.chmod mode
Expand Down

0 comments on commit 7e455a6

Please sign in to comment.