Class: Sauce::Jasmine::Config

Inherits:
Jasmine::Config
  • Object
show all
Defined in:
lib/sauce/jasmine/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



9
10
11
12
# File 'lib/sauce/jasmine/config.rb', line 9

def initialize
  sauce_connect = true
  @tunnel_domain = "#{rand(10000)}.jasmine.test"
end

Instance Attribute Details

#tunnel_domainObject

Returns the value of attribute tunnel_domain.



7
8
9
# File 'lib/sauce/jasmine/config.rb', line 7

def tunnel_domain
  @tunnel_domain
end

Instance Method Details

#quiet_tunnel?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/sauce/jasmine/config.rb', line 14

def quiet_tunnel?
  ENV['DEBUG'] != "true"
end