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.9.travis.875.3 spec/client/annotation_spec.rb
travis-1.8.9.travis.874.3 spec/client/annotation_spec.rb
travis-1.8.9.travis.867.4 spec/client/annotation_spec.rb
travis-1.8.9.travis.853.4 spec/client/annotation_spec.rb
travis-1.8.9.travis.844.4 spec/client/annotation_spec.rb
travis-1.8.9.travis.837.4 spec/client/annotation_spec.rb
travis-1.8.8 spec/client/annotation_spec.rb
travis-1.8.9.travis.826.4 spec/client/annotation_spec.rb
travis-1.8.7.travis.823.4 spec/client/annotation_spec.rb
travis-1.8.7.travis.818.4 spec/client/annotation_spec.rb
travis-1.8.7.travis.812.4 spec/client/annotation_spec.rb
travis-1.8.6 spec/client/annotation_spec.rb
travis-1.8.7.travis.809.4 spec/client/annotation_spec.rb
travis-1.8.7.travis.808.4 spec/client/annotation_spec.rb
travis-1.8.6.travis.807.4 spec/client/annotation_spec.rb
travis-1.8.5 spec/client/annotation_spec.rb
travis-1.8.6.travis.796.4 spec/client/annotation_spec.rb
travis-1.8.5.travis.793.4 spec/client/annotation_spec.rb
travis-1.8.5.travis.791.4 spec/client/annotation_spec.rb
travis-1.8.5.travis.784.4 spec/client/annotation_spec.rb