From ca06de226d08ef576c672112a26aac9730fa06b2 Mon Sep 17 00:00:00 2001 From: Nick Sieger Date: Tue, 7 Nov 2017 10:02:28 -0600 Subject: [PATCH] Fix expand formula specs --- spec/brew/gem/cli_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/brew/gem/cli_spec.rb b/spec/brew/gem/cli_spec.rb index df4a926..3aa7e8d 100644 --- a/spec/brew/gem/cli_spec.rb +++ b/spec/brew/gem/cli_spec.rb @@ -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