Sha256: 0dd49c902b5e5c76e036d3e86d010c11e610f8a581c7063a424d523a2ab46456

Contents?: true

Size: 554 Bytes

Versions: 15

Compression:

Stored size: 554 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(:job_id)          { should eq 1 }
    its(:build_id)        { should eq 12 }
    its(:pull_request_id) { should eq 1 }
  end

end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
vx-builder-0.3.14 spec/lib/builder/task_spec.rb
vx-builder-0.3.13 spec/lib/builder/task_spec.rb
vx-builder-0.3.12 spec/lib/builder/task_spec.rb
vx-builder-0.3.11 spec/lib/builder/task_spec.rb
vx-builder-0.3.10 spec/lib/builder/task_spec.rb
vx-builder-0.3.9 spec/lib/builder/task_spec.rb
vx-builder-0.3.8 spec/lib/builder/task_spec.rb
vx-builder-0.3.7 spec/lib/builder/task_spec.rb
vx-builder-0.3.6 spec/lib/builder/task_spec.rb
vx-builder-0.3.5 spec/lib/builder/task_spec.rb
vx-builder-0.3.4 spec/lib/builder/task_spec.rb
vx-builder-0.3.3 spec/lib/builder/task_spec.rb
vx-builder-0.3.2 spec/lib/builder/task_spec.rb
vx-builder-0.3.1 spec/lib/builder/task_spec.rb
vx-builder-0.3.0 spec/lib/builder/task_spec.rb