Sha256: aaa7a2a3e5de610cc7f20bf386623263fe06a6b6615992aa1846f0bfe829bec4

Contents?: true

Size: 615 Bytes

Versions: 1

Compression:

Stored size: 615 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 'project/name' }
    its(:sha)             { should eq 'b665f90239563c030f1b280a434b3d84daeda1bd' }
    its(:deploy_key)      { should be }
    its(:cache_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(:project_host)    { should eq 'github.com' }
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vx-builder-0.4.0 spec/lib/builder/task_spec.rb