aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorMarkus Reiter2017-05-29 19:27:58 +0200
committerGitHub2017-05-29 19:27:58 +0200
commit3165fd2519c41a2be7e12442a5098d3b699fda04 (patch)
tree8fe6d59eaee43cdf7c35b17810477eaca0e018ad /Library/Homebrew/test
parent0a02d1a0298b99414e72b00f8405dd7c18982ce7 (diff)
parentfd97e88b990b4804e9cfec90e3e5fe60fa54437a (diff)
downloadbrew-3165fd2519c41a2be7e12442a5098d3b699fda04.tar.bz2
Merge pull request #2663 from reitermarkus/lockfile
Convert `FormulaLock` to more generic `LockFile`.
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/lock_file_spec.rb (renamed from Library/Homebrew/test/formula_lock_spec.rb)6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/test/formula_lock_spec.rb b/Library/Homebrew/test/lock_file_spec.rb
index 9b5ece813..82c47a70a 100644
--- a/Library/Homebrew/test/formula_lock_spec.rb
+++ b/Library/Homebrew/test/lock_file_spec.rb
@@ -1,6 +1,6 @@
-require "formula_lock"
+require "lock_file"
-describe FormulaLock do
+describe LockFile do
subject { described_class.new("foo") }
describe "#lock" do
@@ -24,7 +24,7 @@ describe FormulaLock do
expect { subject.unlock }.not_to raise_error
end
- it "unlocks a locked Formula" do
+ it "unlocks when locked" do
subject.lock
subject.unlock