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.12 spec/lib/builder/task_spec.rb
vx-builder-0.5.11 spec/lib/builder/task_spec.rb
vx-builder-0.5.10 spec/lib/builder/task_spec.rb
vx-builder-0.5.9 spec/lib/builder/task_spec.rb
vx-builder-0.5.8 spec/lib/builder/task_spec.rb
vx-builder-0.5.7 spec/lib/builder/task_spec.rb
vx-builder-0.5.6 spec/lib/builder/task_spec.rb
vx-builder-0.5.5 spec/lib/builder/task_spec.rb
vx-builder-0.5.4 spec/lib/builder/task_spec.rb
vx-builder-0.5.3 spec/lib/builder/task_spec.rb
vx-builder-0.5.2 spec/lib/builder/task_spec.rb
vx-builder-0.5.1 spec/lib/builder/task_spec.rb
vx-builder-0.5.0 spec/lib/builder/task_spec.rb