Sha256: 2f211b757592439065a0e6e7f19e355a3bb9769d5a6272598905f534082b8cde

Contents?: true

Size: 372 Bytes

Versions: 6

Compression:

Stored size: 372 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

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

  it 'has a nice inspect on entities' do
    Travis::Pro::Repository.find('rails/rails').inspect.should be == '#<Travis::Pro::Repository: rails/rails>'
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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