Sha256: c145a60d24fefd690210243c9325f07a0f97fd6d8603f839b998b70deab45dac

Contents?: true

Size: 480 Bytes

Versions: 182

Compression:

Stored size: 480 Bytes

Contents

require 'spec_helper'

describe Travis::Client::Annotation do
  let(:session) { Travis::Client.new }
  let(:job) { session.job(4125097) }
  subject { job.annotations.first }
  its(:id) { should be == 1 }
  its(:description) { should be == "The job passed." }
  its(:provider_name) { should be == "Travis CI" }
  its(:url) { should be == "https://travis-ci.org/rails/rails/jobs/4125097" }
  its(:status) { should be == '' }

  it { should be == subject.job.annotations.first }
end

Version data entries

182 entries across 182 versions & 2 rubygems

Version Path
travis-1.7.6.travis.672.5 spec/client/annotation_spec.rb
travis-1.7.6.travis.671.5 spec/client/annotation_spec.rb
travis-1.7.5 spec/client/annotation_spec.rb
travis-1.7.5.travis.658.5 spec/client/annotation_spec.rb
travis-1.7.5.travis.656.5 spec/client/annotation_spec.rb
travis-1.7.4 spec/client/annotation_spec.rb
travis-1.7.4.travis.654.5 spec/client/annotation_spec.rb
travis-1.7.3 spec/client/annotation_spec.rb
travis-1.7.3.travis.653.5 spec/client/annotation_spec.rb
travis-1.7.3.travis.651.5 spec/client/annotation_spec.rb
travis-1.7.3.travis.650.5 spec/client/annotation_spec.rb
travis-1.7.3.travis.649.5 spec/client/annotation_spec.rb
travis-1.7.3.travis.647.5 spec/client/annotation_spec.rb
travis-1.7.3.travis.646.5 spec/client/annotation_spec.rb
travis-1.7.3.travis.644.5 spec/client/annotation_spec.rb
travis-1.7.3.travis.641.5 spec/client/annotation_spec.rb
travis-1.7.3.travis.640.5 spec/client/annotation_spec.rb
travis-1.7.3.travis.637.5 spec/client/annotation_spec.rb
travis-1.7.2 spec/client/annotation_spec.rb
travis-1.7.2.travis.636.5 spec/client/annotation_spec.rb