spec/client/commit_spec.rb in travis-1.6.7.travis.443.6 vs spec/client/commit_spec.rb in travis-1.6.7.travis.445.6

- old
+ new

@@ -13,6 +13,10 @@ 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' } + + specify "with missing data" do + session.load("commit" => { "id" => 12 })['commit'].subject.should be_empty + end end