diff options
| author | Xu Cheng | 2016-03-07 18:04:25 +0800 |
|---|---|---|
| committer | Xu Cheng | 2016-03-07 19:43:46 +0800 |
| commit | 28f3dae8cd5bf975121090cb58262b8344a3917c (patch) | |
| tree | 3b2b793a3c715b401d5ef9288d5c108f334e4aa2 /Library/Homebrew/test/test_formulary.rb | |
| parent | 2b32cfe7b0b0171da97a96d6e1f9ed3ec92e7f6c (diff) | |
| download | brew-28f3dae8cd5bf975121090cb58262b8344a3917c.tar.bz2 | |
rename CoreFormulaRepository to CoreTap
Core tap will be separated from core code in the near future.
It makes sense to rename it to CoreTap.
Diffstat (limited to 'Library/Homebrew/test/test_formulary.rb')
| -rw-r--r-- | Library/Homebrew/test/test_formulary.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/test/test_formulary.rb b/Library/Homebrew/test/test_formulary.rb index f41bcde3a..48f155fcb 100644 --- a/Library/Homebrew/test/test_formulary.rb +++ b/Library/Homebrew/test/test_formulary.rb @@ -16,7 +16,7 @@ end class FormularyFactoryTest < Homebrew::TestCase def setup @name = "testball_bottle" - @path = CoreFormulaRepository.new.formula_dir/"#{@name}.rb" + @path = CoreTap.new.formula_dir/"#{@name}.rb" @bottle_dir = Pathname.new("#{File.expand_path("..", __FILE__)}/bottles") @bottle = @bottle_dir/"testball_bottle-0.1.#{bottle_tag}.bottle.tar.gz" @path.write <<-EOS.undent @@ -72,7 +72,7 @@ class FormularyFactoryTest < Homebrew::TestCase end def test_factory_from_alias - alias_dir = CoreFormulaRepository.instance.alias_dir + alias_dir = CoreTap.instance.alias_dir alias_dir.mkpath FileUtils.ln_s @path, alias_dir/"foo" assert_kind_of Formula, Formulary.factory("foo") @@ -144,7 +144,7 @@ end class FormularyTapPriorityTest < Homebrew::TestCase def setup @name = "foo" - @core_path = CoreFormulaRepository.new.formula_dir/"#{@name}.rb" + @core_path = CoreTap.new.formula_dir/"#{@name}.rb" @tap = Tap.new "homebrew", "foo" @tap_path = @tap.path/"#{@name}.rb" code = <<-EOS.undent |
