Sha256: e25e58215cadfd9bebb11cb2dd38e64657984813b08f6552c6035257cbda5afb
Contents?: true
Size: 491 Bytes
Versions: 30
Compression:
Stored size: 491 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe Sinclair::EnvSettable do describe 'readme' do let(:client) { ServiceClient.default } let(:query) do /#<ServiceClient:[^ ]* @username="my-login", @password=nil, @port=80, @hostname="host.com">/ end before do ENV['SERVICE_USERNAME'] = 'my-login' ENV['SERVICE_HOSTNAME'] = 'host.com' end it 'sets defaults values' do expect(client.inspect.to_s).to match(query) end end end
Version data entries
30 entries across 30 versions & 1 rubygems