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

Version Path
mutest-0.0.10 spec/unit/mutest_spec.rb
mutest-0.0.9 spec/unit/mutest_spec.rb
mutest-0.0.8 spec/unit/mutest_spec.rb
mutest-0.0.7 spec/unit/mutest_spec.rb
mutest-0.0.6 spec/unit/mutest_spec.rb
mutest-0.0.5 spec/unit/mutest_spec.rb
mutest-0.0.4 spec/unit/mutest_spec.rb
mutest-0.0.3 spec/unit/mutest_spec.rb
mutest-0.0.2 spec/unit/mutest_spec.rb