Sha256: f6e05a1bd5a831cb69352b5d3be4b17d0af90dffcb8621d9f3a1f1ef5944d454
Contents?: true
Size: 357 Bytes
Versions: 110
Compression:
Stored size: 357 Bytes
Contents
require "socket" # Stub out the hostname for tests only. This can't use a normal stub in the # test life cycle since our test rails app is loaded once upon initialization. # In other words, the rails app gets loaded with the server context inserted # before any tests are run. class ::Socket def self.gethostname "computer-name.domain.com" end end
Version data entries
110 entries across 110 versions & 4 rubygems