Sha256: f1a22f73b4b53a1e1de789e0c5431c284b2ae6ba9ba9732b51fdafa2470f5079
Contents?: true
Size: 393 Bytes
Versions: 46
Compression:
Stored size: 393 Bytes
Contents
require 'test_helper' require 'scout_apm/git_revision' class GitRevisionTest < Minitest::Test # TODO - other tests that would be nice: # * ensure we only detect once, on initialize. # * tests for reading cap files def test_sha_from_heroku ENV['HEROKU_SLUG_COMMIT'] = 'heroku_slug' revision = ScoutApm::GitRevision.new assert_equal 'heroku_slug', revision.sha end end
Version data entries
46 entries across 46 versions & 1 rubygems