Sha256: 7a1740fee40d49eab3795c5f7a62c84903cfbb90b4efe00f75c0d50cb0e62874

Contents?: true

Size: 621 Bytes

Versions: 53

Compression:

Stored size: 621 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 'vexor/vx-test-repo' }
    its(:sha)             { should eq '8f53c077072674972e21c82a286acc07fada91f5' }
    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

53 entries across 53 versions & 1 rubygems

Version Path
vx-builder-0.5.32 spec/lib/builder/task_spec.rb
vx-builder-0.5.31 spec/lib/builder/task_spec.rb
vx-builder-0.5.30 spec/lib/builder/task_spec.rb
vx-builder-0.5.29 spec/lib/builder/task_spec.rb
vx-builder-0.5.28 spec/lib/builder/task_spec.rb
vx-builder-0.5.27 spec/lib/builder/task_spec.rb
vx-builder-0.5.26 spec/lib/builder/task_spec.rb
vx-builder-0.5.25 spec/lib/builder/task_spec.rb
vx-builder-0.5.24 spec/lib/builder/task_spec.rb
vx-builder-0.5.23 spec/lib/builder/task_spec.rb
vx-builder-0.5.22 spec/lib/builder/task_spec.rb
vx-builder-0.5.21 spec/lib/builder/task_spec.rb
vx-builder-0.5.20 spec/lib/builder/task_spec.rb
vx-builder-0.5.19 spec/lib/builder/task_spec.rb
vx-builder-0.5.18 spec/lib/builder/task_spec.rb
vx-builder-0.5.17 spec/lib/builder/task_spec.rb
vx-builder-0.5.16 spec/lib/builder/task_spec.rb
vx-builder-0.5.15 spec/lib/builder/task_spec.rb
vx-builder-0.5.14 spec/lib/builder/task_spec.rb
vx-builder-0.5.13 spec/lib/builder/task_spec.rb