aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorMarkus Reiter2017-05-22 03:23:50 +0200
committerMarkus Reiter2017-05-25 06:18:52 +0200
commit060af0a26ab7219e46b500fd1c7f420b6cc74cbb (patch)
tree649593bf35ab82c344d7f7ca9456f26d118f6f45 /Library/Homebrew/test
parente931fee732d9d8d34eb9d689782bafb3822302f7 (diff)
downloadbrew-060af0a26ab7219e46b500fd1c7f420b6cc74cbb.tar.bz2
Rename `FormulaLock` to `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