Sha256: 6e783b5092bded8960866c4b31eafe02c2513803f0dd6b49ac35b531d855be7f

Contents?: true

Size: 426 Bytes

Versions: 15

Compression:

Stored size: 426 Bytes

Contents

if defined?(CypressOnRails)
  require "simplecov"
  SimpleCov.start

  CypressOnRails.configure do |c|
    c.cypress_folder = File.join Decko.gem_root, "spec", "cypress"
    # WARNING!! CypressOnRails can execute arbitrary ruby code
    # please use with extra caution if enabling on hosted servers or starting your
    # local server on 0.0.0.0
    c.use_middleware = Rails.env.cypress?
    c.logger = Rails.logger
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
decko-0.18.1 config/initializers/cypress.rb
decko-0.18.0 config/initializers/cypress.rb
decko-0.17.0 config/initializers/cypress.rb
decko-0.16.0 config/initializers/cypress.rb
decko-0.15.6 config/initializers/cypress.rb
decko-0.15.5 config/initializers/cypress.rb
decko-0.15.4 config/initializers/cypress.rb
decko-0.15.3 config/initializers/cypress.rb
decko-0.15.2.pre1 config/initializers/cypress.rb
decko-0.15.1.1 config/initializers/cypress.rb
decko-0.15.1 config/initializers/cypress.rb
decko-0.15.0 config/initializers/cypress.rb
decko-0.14.2 config/initializers/cypress.rb
decko-0.14.1 config/initializers/cypress.rb
decko-0.14.0 config/initializers/cypress.rb