Sha256: f3707bc78e64b0c81832199ced9a3bf374a04d9c9dd5566786775fad430f34c0

Contents?: true

Size: 375 Bytes

Versions: 12

Compression:

Stored size: 375 Bytes

Contents

require 'spec_helper'

describe Vx::Builder::Script::Artifacts do
  let(:app)    { ->(env) { 0 } }
  let(:script) { described_class.new app }
  let(:task)   {  }
  let(:env)    { create :env }
  let(:run)    { script.call env }
  subject { run }

  it { should eq 0 }

  it "should create upload script" do
    subject
    expect(env.after_script).to_not be_empty
  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
vx-builder-0.2.2 spec/lib/builder/script/artifacts_spec.rb
vx-builder-0.2.1 spec/lib/builder/script/artifacts_spec.rb
vx-builder-0.2.0 spec/lib/builder/script/artifacts_spec.rb
vx-builder-0.1.8 spec/lib/builder/script/artifacts_spec.rb
vx-builder-0.1.7 spec/lib/builder/script/artifacts_spec.rb
vx-builder-0.1.6 spec/lib/builder/script/artifacts_spec.rb
vx-builder-0.1.5 spec/lib/builder/script/artifacts_spec.rb
vx-builder-0.1.4 spec/lib/builder/script/artifacts_spec.rb
vx-builder-0.1.3 spec/lib/builder/script/artifacts_spec.rb
vx-builder-0.1.2 spec/lib/builder/script/artifacts_spec.rb
vx-builder-0.1.1 spec/lib/builder/script/artifacts_spec.rb
vx-builder-0.1.0 spec/lib/builder/script/artifacts_spec.rb