describe "brew create", :integration_test do let(:url) { "file://#{TEST_FIXTURE_DIR}/tarballs/testball-0.1.tbz" } let(:formula_file) { CoreTap.new.formula_dir/"testball.rb" } it "creates a new Formula file for a given URL" do shutup do brew "create", url, "HOMEBREW_EDITOR" => "/bin/cat" end expect(formula_file).to exist expect(formula_file.read).to match(%Q(sha256 "#{TESTBALL_SHA256}")) end end header'> cgit logo index : brew
🍺 The missing package manager for macOS
aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/outdated.rb
blob: f8780f57a09642d14c873b1f5f2cb54e8260e8cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25