Sha256: 27fd8b614d3aa45964da0a4c787e21c948640056731d88fadcca130131358abf
Contents?: true
Size: 244 Bytes
Versions: 11
Compression:
Stored size: 244 Bytes
Contents
module ConnectivityHelper def need_connectivity if connectivity_available? yield end end def connectivity_available? ENV["ONLINE"].to_i == 1 end end RSpec.configure do |config| config.extend ConnectivityHelper end
Version data entries
11 entries across 11 versions & 1 rubygems