Sha256: ca8938f1ab0eebc66bfc6b468934cd20b91b7e959774914ffde31747c4e44cd6

Contents?: true

Size: 1.33 KB

Versions: 3

Compression:

Stored size: 1.33 KB

Contents

# This file allows you to override various Teaspoon configuration directives when running from the command line. It is not
# required from within the Rails environment, so overriding directives that have been defined within the initializer
# is not possible.
#
# Set RAILS_ROOT and load the environment.
unless defined?(Rails)
  ENV["RAILS_ROOT"] = File.expand_path("../dummy", __FILE__)
  require File.expand_path("../dummy/config/environment", __FILE__)
end

# Provide default configuration.
#
# You can override various configuration directives defined here by using arguments with the teaspoon command.
#
# teaspoon --driver=selenium --suppress-log
# rake teaspoon DRIVER=selenium SUPPRESS_LOG=false
Teaspoon.setup do |config|
  # Driver / Server
  #config.driver              = "phantomjs" # available: phantomjs, selenium
  #config.server              = nil # defaults to Rack::Server

  # Behaviors
  #config.server_timeout      = 20 # timeout for starting the server
  #config.server_port         = nil # defaults to any open port unless specified
  #config.fail_fast           = true # abort after the first failing suite

  # Output
  #config.formatters          = "dot" # available: dot, tap, tap_y, swayze_or_oprah
  #config.suppress_log        = false # suppress logs coming from console[log/error/debug]
  #config.color               = true
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
blogelator-0.2.5 spec/dummy/spec/teaspoon_env.rb
blogelator-0.2.4 spec/dummy/spec/teaspoon_env.rb
blogelator-0.2.3 spec/dummy/spec/teaspoon_env.rb