Sha256: 15289613d8308ef79c1322d528527636dd9d0e5382dc984dd57f099559360b43

Contents?: true

Size: 180 Bytes

Versions: 13

Compression:

Stored size: 180 Bytes

Contents

shared_context 'gethostname', with_hostname: true do
  let(:hostname) { 'bird.example.com' }

  before do
    allow(Socket).to receive(:gethostname).and_return(hostname)
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
loga-2.8.0 spec/support/gethostname_shared.rb
loga-2.7.0 spec/support/gethostname_shared.rb
loga-2.6.1 spec/support/gethostname_shared.rb
loga-2.6.0 spec/support/gethostname_shared.rb
loga-2.5.4 spec/support/gethostname_shared.rb
loga-2.5.3 spec/support/gethostname_shared.rb
loga-2.5.2 spec/support/gethostname_shared.rb
loga-2.5.1 spec/support/gethostname_shared.rb
loga-2.5.0 spec/support/gethostname_shared.rb
loga-2.4.0 spec/support/gethostname_shared.rb
loga-2.3.1 spec/support/gethostname_shared.rb
loga-2.3.0 spec/support/gethostname_shared.rb
loga-2.2.0 spec/support/gethostname_shared.rb