Sha256: 9694150dacb29178fbd9258f3f1a156c8f3c205948762957507fbfa87b1e6da5
Contents?: true
Size: 395 Bytes
Versions: 17
Compression:
Stored size: 395 Bytes
Contents
describe Appsignal::System do describe ".heroku?" do subject { described_class.heroku? } context "when on Heroku" do around { |example| recognize_as_heroku { example.run } } it "returns true" do is_expected.to eq(true) end end context "when not on Heroku" do it "returns false" do is_expected.to eq(false) end end end end
Version data entries
17 entries across 17 versions & 1 rubygems