Skip to content

Commit

Permalink
Fix expand formula specs
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksieger committed Nov 7, 2017
1 parent 2a061c7 commit ca06de2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/brew/gem/cli_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
it { is_expected.to match(/class GemFooBar < Formula/) }

it { is_expected.to match(/version "1\.2\.3"/) }
it { is_expected.to match("rubybindir = '/usr/bin'") }
it { is_expected.to match("BREWGEM_RUBYBINDIR = '/usr/bin'") }

context "homebrew-ruby" do
subject(:formula) { described_class.expand_formula("foo-bar", "1.2.3", true) }
it { is_expected.to match("rubybindir = '/usr/local/bin'") }
it { is_expected.to match("BREWGEM_RUBYBINDIR = '/usr/local/bin'") }
end
end

Expand Down

0 comments on commit ca06de2

Please sign in to comment.