Sha256: 70919f8779912d6763e8a64b5cc4196e3aabf7c407941839ad0fc9387a09a1d1

Contents?: true

Size: 664 Bytes

Versions: 3

Compression:

Stored size: 664 Bytes

Contents

require 'spec_helper'
require 'vx/common'

describe Vx::Builder::Task do
  let(:task) { create :task, pull_request_id: 1, deploy: true }
  subject { task }

  context "just created" do
    its(:name)            { should eq 'name' }
    its(:sha)             { should eq 'b665f90239563c030f1b280a434b3d84daeda1bd' }
    its(:deploy_key)      { should be }
    its(:cache_url_prefix){ should eq 'http://example.com' }
    its(:artifacts_url_prefix){ should eq 'http://example.com' }
    its(:job_id)          { should eq 1 }
    its(:build_id)        { should eq 12 }
    its(:pull_request_id) { should eq 1 }
    its(:deploy?)         { should be_true }
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vx-builder-0.2.2 spec/lib/builder/task_spec.rb
vx-builder-0.2.1 spec/lib/builder/task_spec.rb
vx-builder-0.2.0 spec/lib/builder/task_spec.rb