Skip to content
Snippets Groups Projects
Commit 2dc5bbf5 authored by Misty De Meo's avatar Misty De Meo
Browse files

emoji tests: make sure to unset install badge env vars

Otherwise the user's specified emoji will be used and the test will
fail.
parent cf85f757
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,11 @@ describe Emoji do
describe "#install_badge" do
subject { described_class.install_badge }
before(:each) do
ENV.delete("HOMEBREW_NO_EMOJI")
ENV.delete("HOMEBREW_INSTALL_BADGE")
end
it "returns 🍺 by default" do
expect(subject).to eq "🍺"
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment