Sha256: 41ed46e2353550dcec976a51cc2cf3e3c17f0cb48911e7e7f5ac043f1df43cc9
Contents?: true
Size: 352 Bytes
Versions: 10
Compression:
Stored size: 352 Bytes
Contents
# frozen_string_literal: true require File.expand_path('../test_helper', File.dirname(__FILE__)) class AtExitTest < Minitest::Test test 'only registers once' do Coverband::AtExit.instance_eval { @at_exit_registered = nil } Coverband::AtExit.expects(:at_exit).yields.once.returns(true) 2.times { Coverband::AtExit.register } end end
Version data entries
10 entries across 10 versions & 1 rubygems