Sha256: 48f8331887673299d5c68ccee9c95cd53330d773c05df18f962a542285e27dea

Contents?: true

Size: 471 Bytes

Versions: 8

Compression:

Stored size: 471 Bytes

Contents

RSpec.describe Drydock do

  describe '.build' do

    let(:opts) { Hash.new }

    context 'with an empty script' do
      let(:script) { "" }
      it_behaves_like 'a Drydockfile'
    end

    context 'from the scratch image' do
      let(:script) { "from 'scratch'" }
      it_behaves_like 'a Drydockfile'
    end

    context 'from an Alpine Linux image' do
      let(:script) { "from 'gliderlabs/alpine'" }
      it_behaves_like 'a Drydockfile'
    end

  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dry-dock-0.2.0 spec/drydock/drydock_spec.rb
dry-dock-0.1.6 spec/drydock/drydock_spec.rb
dry-dock-0.1.5 spec/drydock/drydock_spec.rb
dry-dock-0.1.4 spec/drydock/drydock_spec.rb
dry-dock-0.1.3 spec/drydock/drydock_spec.rb
dry-dock-0.1.2 spec/drydock/drydock_spec.rb
dry-dock-0.1.1 spec/drydock/drydock_spec.rb
dry-dock-0.1.0 spec/drydock/drydock_spec.rb