Sha256: a6a0669c8cc3d5bebfd0cc998b0778d13f6ed95487ad158d9cafa37f4e2605d9

Contents?: true

Size: 364 Bytes

Versions: 12

Compression:

Stored size: 364 Bytes

Contents

require 'spec_helper'

RSpec.describe Construi::Target do
  let(:parent_config) { Construi::Config.load('{}') }
  let(:target_config) do
    cfg = {}
    cfg['image'] = image unless image.nil?
    cfg['build'] = build unless build.nil?

    Construi::Config::Target.new(cfg, parent_config)
  end

  subject(:target) { Construi::Target.new nil, target_config }
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
construi-0.41.0 spec/lib/construi/target_spec.rb
construi-0.40.0 spec/lib/construi/target_spec.rb
construi-0.39.0 spec/lib/construi/target_spec.rb
construi-0.38.0 spec/lib/construi/target_spec.rb
construi-0.37.0 spec/lib/construi/target_spec.rb
construi-0.36.0 spec/lib/construi/target_spec.rb
construi-0.35.2 spec/lib/construi/target_spec.rb
construi-0.35.1 spec/lib/construi/target_spec.rb
construi-0.35.0 spec/lib/construi/target_spec.rb
construi-0.33.0 spec/lib/construi/target_spec.rb
construi-0.32.0 spec/lib/construi/target_spec.rb
construi-0.31.0 spec/lib/construi/target_spec.rb