Sha256: a4a408962350d204bb84dbb21057ec76fc82c56fa12fd28415c01b32c157064b
Contents?: true
Size: 509 Bytes
Versions: 1
Compression:
Stored size: 509 Bytes
Contents
require 'spec_helper' require 'construi/config' RSpec.describe Construi::Config do describe '#image' do let(:config_content) do <<-YAML image: #{image} YAML end let(:config) { Construi::Config.load(config_content) } subject { config.image } %w{ test-image:latest lstephen/construi:latest }.each do |image_name| context "when image is #{image_name}" do let(:image) { image_name } it { is_expected.to eq(image) } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
construi-0.30.0 | spec/lib/config_spec.rb |