Sha256: 65ad8ddd83e0c8298c2348c695f8ff73de26d52348c8dd563734e186e598a7f6

Contents?: true

Size: 389 Bytes

Versions: 6

Compression:

Stored size: 389 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe Travis do
  its(:api_endpoint) { is_expected.to be == 'https://api.travis-ci.com/' }

  it 'has a nice inspect on entities' do
    pending 'does not work on JRuby' if defined? RUBY_ENGINE and RUBY_ENGINE == 'jruby'
    Travis::Repository.find('rails/rails').inspect.should be == '#<Travis::Repository: rails/rails>'
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
travis-1.14.0 spec/travis_spec.rb
travis-1.13.3 spec/travis_spec.rb
travis-1.13.2 spec/travis_spec.rb
travis-1.13.1 spec/travis_spec.rb
travis-1.13.0 spec/travis_spec.rb
travis-1.12.0 spec/travis_spec.rb