Sha256: 24807fa95409d5a188e205d5eccb39a2c61d208484849ffa4412c793898a6cbe
Contents?: true
Size: 584 Bytes
Versions: 10
Compression:
Stored size: 584 Bytes
Contents
require 'stringio' module Omnibus describe Compressor::Base do let(:packager) { double(Packager::Base) } let(:project) { double(Project, packager: packager) } describe '.initialize' do subject { described_class.new(project) } it 'sets the project' do expect(subject.project).to eq(project) end it 'sets the packager' do expect(subject.packager).to eq(packager) end end subject { described_class.new(project) } it 'inherits from Packager' do expect(subject).to be_a(Packager::Base) end end end
Version data entries
10 entries across 10 versions & 1 rubygems