aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/diagnostic_spec.rb
diff options
context:
space:
mode:
authormansimarkaur2017-04-07 18:29:40 +0530
committermansimarkaur2017-04-07 18:29:40 +0530
commit7e455a623a3f49f63b589ea31d72c860b1d33c06 (patch)
tree5ed662456ff88d7357747f6ec506444232502395 /Library/Homebrew/test/diagnostic_spec.rb
parentfda41919cf396cf1ab7a6fe51aead448e21f93dd (diff)
downloadbrew-7e455a623a3f49f63b589ea31d72c860b1d33c06.tar.bz2
Corrected test for access_lock_dir
Diffstat (limited to 'Library/Homebrew/test/diagnostic_spec.rb')
-rw-r--r--Library/Homebrew/test/diagnostic_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/diagnostic_spec.rb b/Library/Homebrew/test/diagnostic_spec.rb
index c4ff1f458..c2bcdb9c0 100644
--- a/Library/Homebrew/test/diagnostic_spec.rb
+++ b/Library/Homebrew/test/diagnostic_spec.rb
@@ -46,7 +46,7 @@ describe Homebrew::Diagnostic::Checks do
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