Sha256: 0a9eebf48ccb0551c30790a9cb74fb15dfb000c7d019d1ee1c0a72d72a446bb1

Contents?: true

Size: 812 Bytes

Versions: 106

Compression:

Stored size: 812 Bytes

Contents

require 'spec_helper'

describe Travis::Client::Build do
  let(:session) { Travis::Client.new }
  subject { session.build(4125095).commit }

  its(:sha) { should be == 'a0265b98f16c6e33be32aa3f57231d1189302400' }
  its(:short_sha) { should be == 'a0265b9' }
  its(:branch) { should be == 'master' }
  its(:message) { should be == 'Associaton -> Association' }
  its(:committed_at) { should be_a(Time) }
  its(:author_name) { should be == 'Steve Klabnik' }
  its(:author_email) { should be == 'steve@steveklabnik.com' }
  its(:committer_name) { should be == 'Steve Klabnik' }
  its(:committer_email) { should be == 'steve@steveklabnik.com' }
  its(:compare_url) { should be == 'https://github.com/rails/rails/compare/6581d798e830...a0265b98f16c' }
  its(:subject) { should be == 'Associaton -> Association' }
end

Version data entries

106 entries across 106 versions & 1 rubygems

Version Path
travis-1.6.7.travis.443.6 spec/client/commit_spec.rb
travis-1.6.7.travis.442.6 spec/client/commit_spec.rb
travis-1.6.7.travis.441.6 spec/client/commit_spec.rb
travis-1.6.7.travis.434.6 spec/client/commit_spec.rb
travis-1.6.7.travis.431.6 spec/client/commit_spec.rb
travis-1.6.7.travis.428.9 spec/client/commit_spec.rb
travis-1.6.7.travis.427.9 spec/client/commit_spec.rb
travis-1.6.7.travis.426.8 spec/client/commit_spec.rb
travis-1.6.7.travis.425.8 spec/client/commit_spec.rb
travis-1.6.7.travis.422.4 spec/client/commit_spec.rb
travis-1.6.7.travis.420.4 spec/client/commit_spec.rb
travis-1.6.6 spec/client/commit_spec.rb
travis-1.6.6.travis.419.4 spec/client/commit_spec.rb
travis-1.6.6.travis.417.4 spec/client/commit_spec.rb
travis-1.6.5 spec/client/commit_spec.rb
travis-1.6.4.travis.414.4 spec/client/commit_spec.rb
travis-1.6.4.travis.413.4 spec/client/commit_spec.rb
travis-1.6.4.travis.410.4 spec/client/commit_spec.rb
travis-1.6.4.travis.411.4 spec/client/commit_spec.rb
travis-1.6.4.travis.406.4 spec/client/commit_spec.rb