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.8.1.travis.699.5 spec/client/annotation_spec.rb
travis-1.8.1.travis.697.5 spec/client/annotation_spec.rb
travis-1.8.1.travis.696.5 spec/client/annotation_spec.rb
travis-1.8.1.travis.693.5 spec/client/annotation_spec.rb
travis-1.8.1.travis.692.5 spec/client/annotation_spec.rb
travis-1.8.1.travis.689.5 spec/client/annotation_spec.rb
travis-1.8.0 spec/client/annotation_spec.rb
travis-1.7.8.travis.688.5 spec/client/annotation_spec.rb
travis-1.7.8.travis.687.5 spec/client/annotation_spec.rb
travis-1.7.8.travis.684.5 spec/client/annotation_spec.rb
travis-1.7.7 spec/client/annotation_spec.rb
travis-1.7.7.travis.683.5 spec/client/annotation_spec.rb
travis-1.7.7.travis.681.5 spec/client/annotation_spec.rb
travis-1.7.7.travis.678.5 spec/client/annotation_spec.rb
travis-1.7.6.travis.677.5 spec/client/annotation_spec.rb
travis-1.7.6 spec/client/annotation_spec.rb
travis-1.7.6.travis.676.5 spec/client/annotation_spec.rb
travis-1.7.6.travis.675.5 spec/client/annotation_spec.rb
travis-1.7.6.travis.673.5 spec/client/annotation_spec.rb
travis-1.7.6.travis.673.6 spec/client/annotation_spec.rb