Sha256: 5e8d145db2b548b0b568cbdd5ad17a4afe061d28eab997106b79238effc543e1
Contents?: true
Size: 298 Bytes
Versions: 9
Compression:
Stored size: 298 Bytes
Contents
RSpec.describe Mutest do let(:object) { described_class } describe '.ci?' do subject { object.ci? } let(:value) { instance_double(Object, 'value') } before do expect(ENV).to receive(:key?).with('CI').and_return(value) end it { is_expected.to be(value) } end end
Version data entries
9 entries across 9 versions & 1 rubygems