Sha256: 47b7ae6fbcffa67535fa56c6eaefd896ce80e496c8e5458f40b505010e81b473
Contents?: true
Size: 437 Bytes
Versions: 6
Compression:
Stored size: 437 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' module WithModel describe ConstantStubber do it 'allows calling unstub_const multiple times' do stubber = described_class.new('Foo') stubber.stub_const(1) stubber.unstub_const stubber.unstub_const end it 'allows calling unstub_const without stub_const' do stubber = described_class.new('Foo') stubber.unstub_const end end end
Version data entries
6 entries across 6 versions & 1 rubygems