Sha256: ce44a70f4dd299e39f3d3ac45b688f29842e625db4a98ff8b2e8294819c56559

Contents?: true

Size: 605 Bytes

Versions: 9

Compression:

Stored size: 605 Bytes

Contents

require 'spec_helper'
require 'vx/common'

describe Vx::Builder::Task do
  let(:task) { create :task, pull_request_id: 1 }
  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 }
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
vx-builder-0.1.8 spec/lib/builder/task_spec.rb
vx-builder-0.1.7 spec/lib/builder/task_spec.rb
vx-builder-0.1.6 spec/lib/builder/task_spec.rb
vx-builder-0.1.5 spec/lib/builder/task_spec.rb
vx-builder-0.1.4 spec/lib/builder/task_spec.rb
vx-builder-0.1.3 spec/lib/builder/task_spec.rb
vx-builder-0.1.2 spec/lib/builder/task_spec.rb
vx-builder-0.1.1 spec/lib/builder/task_spec.rb
vx-builder-0.1.0 spec/lib/builder/task_spec.rb