Sha256: 3b598aff12df960a8dd03dabe2c6118863e311e3c313694b5ed5ba43afb880d2

Contents?: true

Size: 613 Bytes

Versions: 25

Compression:

Stored size: 613 Bytes

Contents

require 'spec_helper'
require 'vx/common'

describe Vx::Builder::Task do
  let(:task) {
    described_class.new(
      'name',
      'source',
      'sha',
      deploy_key: 'deploy_key',
      pull_request_id: '1',
      cache_url_prefix: 'cache_url'
    )
  }

  subject { task }

  context "just created" do
    let(:name)            { should eq 'name' }
    let(:source)          { should eq 'source' }
    let(:sha)             { should eq 'sha' }
    let(:deploy_key)      { should eq 'deploy_key' }
    let(:pull_request_id) { should eq '1' }
    let(:cache_url_prefix){ should eq 'cache_url' }
  end

end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
vx-builder-0.0.29 spec/lib/builder/task_spec.rb
vx-builder-0.0.28 spec/lib/builder/task_spec.rb
vx-builder-0.0.27 spec/lib/builder/task_spec.rb
vx-builder-0.0.26 spec/lib/builder/task_spec.rb
vx-builder-0.0.25 spec/lib/builder/task_spec.rb
vx-builder-0.0.24 spec/lib/builder/task_spec.rb
vx-builder-0.0.23 spec/lib/builder/task_spec.rb
vx-builder-0.0.22 spec/lib/builder/task_spec.rb
vx-builder-0.0.21 spec/lib/builder/task_spec.rb
vx-builder-0.0.20 spec/lib/builder/task_spec.rb
vx-builder-0.0.19 spec/lib/builder/task_spec.rb
vx-builder-0.0.18 spec/lib/builder/task_spec.rb
vx-builder-0.0.16 spec/lib/builder/task_spec.rb
vx-builder-0.0.15 spec/lib/builder/task_spec.rb
vx-builder-0.0.14 spec/lib/builder/task_spec.rb
vx-builder-0.0.13 spec/lib/builder/task_spec.rb
vx-builder-0.0.12 spec/lib/builder/task_spec.rb
vx-builder-0.0.11 spec/lib/builder/task_spec.rb
vx-builder-0.0.10 spec/lib/builder/task_spec.rb
vx-builder-0.0.9 spec/lib/builder/task_spec.rb