Sha256: 64fc0a34e33da3a130a8cb48af27d41a8bb87ead2fc6807404f7974e023ff0a3

Contents?: true

Size: 479 Bytes

Versions: 10

Compression:

Stored size: 479 Bytes

Contents

require 'spec_helper'

module Omnibus
  describe Compressor::Null do
    let(:packager) { double(Packager::Base) }
    let(:project)  { double(Project, packager: packager) }

    subject { described_class.new(project) }

    describe '#id' do
      it 'is :dmg' do
        expect(subject.id).to eq(:null)
      end
    end

    describe '#run!' do
      it 'does nothing' do
        expect(subject).to_not receive(:instance_eval)
        subject.run!
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
omnibus-5.4.0 spec/unit/compressors/null_spec.rb
omnibus-5.3.0 spec/unit/compressors/null_spec.rb
omnibus-5.2.0 spec/unit/compressors/null_spec.rb
omnibus-5.1.0 spec/unit/compressors/null_spec.rb
omnibus-5.0.0 spec/unit/compressors/null_spec.rb
omnibus-4.1.0 spec/unit/compressors/null_spec.rb
omnibus-4.0.0 spec/unit/compressors/null_spec.rb
omnibus-4.0.0.rc.2 spec/unit/compressors/null_spec.rb
omnibus-4.0.0.rc.1 spec/unit/compressors/null_spec.rb
omnibus-4.0.0.beta.1 spec/unit/compressors/null_spec.rb