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.54 spec/lib/builder/task_spec.rb
vx-builder-0.5.53 spec/lib/builder/task_spec.rb
vx-builder-0.5.52 spec/lib/builder/task_spec.rb
vx-builder-0.5.51 spec/lib/builder/task_spec.rb
vx-builder-0.5.50 spec/lib/builder/task_spec.rb
vx-builder-0.5.49 spec/lib/builder/task_spec.rb
vx-builder-0.5.48 spec/lib/builder/task_spec.rb
vx-builder-0.5.47 spec/lib/builder/task_spec.rb
vx-builder-0.5.46 spec/lib/builder/task_spec.rb
vx-builder-0.5.45 spec/lib/builder/task_spec.rb
vx-builder-0.5.44 spec/lib/builder/task_spec.rb
vx-builder-0.5.43 spec/lib/builder/task_spec.rb
vx-builder-0.5.42 spec/lib/builder/task_spec.rb
vx-builder-0.5.41 spec/lib/builder/task_spec.rb
vx-builder-0.5.38 spec/lib/builder/task_spec.rb
vx-builder-0.5.37 spec/lib/builder/task_spec.rb
vx-builder-0.5.36 spec/lib/builder/task_spec.rb
vx-builder-0.5.35 spec/lib/builder/task_spec.rb
vx-builder-0.5.34 spec/lib/builder/task_spec.rb
vx-builder-0.5.33 spec/lib/builder/task_spec.rb