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.5.travis.783.4 spec/client/annotation_spec.rb
travis-1.8.5.travis.781.4 spec/client/annotation_spec.rb
travis-1.8.4 spec/client/annotation_spec.rb
travis-1.8.5.travis.779.4 spec/client/annotation_spec.rb
travis-1.8.3 spec/client/annotation_spec.rb
travis-1.8.4.travis.777.4 spec/client/annotation_spec.rb
travis-1.8.4.travis.775.4 spec/client/annotation_spec.rb
travis-1.8.3.travis.773.4 spec/client/annotation_spec.rb
travis-async-listener-1.8.3 spec/client/annotation_spec.rb
travis-1.8.3.travis.745.4 spec/client/annotation_spec.rb
travis-1.8.3.travis.726.4.pre.debug spec/client/annotation_spec.rb
travis-1.8.3.travis.724.4 spec/client/annotation_spec.rb
travis-1.8.2 spec/client/annotation_spec.rb
travis-1.8.2.travis.722.4 spec/client/annotation_spec.rb
travis-1.8.2.travis.719.4 spec/client/annotation_spec.rb
travis-1.8.1 spec/client/annotation_spec.rb
travis-1.8.1.travis.717.4 spec/client/annotation_spec.rb
travis-1.8.1.travis.713.4 spec/client/annotation_spec.rb
travis-1.8.1.travis.705.5 spec/client/annotation_spec.rb
travis-1.8.1.travis.704.5 spec/client/annotation_spec.rb