Sha256: c287a96497d6bc5c61eafccf25b5396b51376dccec02d1c02d21d615ab28cb10
Contents?: true
Size: 521 Bytes
Versions: 6
Compression:
Stored size: 521 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe Travis::Client do its(:new) { is_expected.to be_a(Travis::Client::Session) } it 'accepts string argument' do described_class.new('http://foo/').uri.should be == 'http://foo/' end it 'accepts options hash with string keys' do described_class.new('uri' => 'http://foo/').uri.should be == 'http://foo/' end it 'accepts options hash with symbol keys' do described_class.new(uri: 'http://foo/').uri.should be == 'http://foo/' end end
Version data entries
6 entries across 6 versions & 1 rubygems