Sha256: d92257f28a9f4d51cc3eea940712f88622408dc7403ab8f13cb58fbf09ce0585
Contents?: true
Size: 605 Bytes
Versions: 2
Compression:
Stored size: 605 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe Sinclair::Settable do describe '#yard' do subject(:settable) { HashAppClient } before do HashAppClient::HASH[:username] = 'my_login' HashAppClient::HASH[:port] = '8080' end after do HashAppClient::HASH.delete(:username) HashAppClient::HASH.delete(:port) end it 'retrieves data from env' do expect(settable.username).to eq('my_login') expect(settable.password).to be_nil expect(settable.host).to eq('my-host.com') expect(settable.port).to eq(8080) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sinclair-2.1.1 | spec/integration/yard/sinclair/settable_spec.rb |
sinclair-2.1.0 | spec/integration/yard/sinclair/settable_spec.rb |