Sha256: ca3a6118e62da1155c90722781c9a72cc5a63e7a20c1105112b556078d46cd91

Contents?: true

Size: 430 Bytes

Versions: 8

Compression:

Stored size: 430 Bytes

Contents

if defined?(CypressOnRails)
  require "simplecov"

  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? || ENV["CYPRESS_DEV"]
    c.logger = Rails.logger
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
decko-0.11.7 lib/decko/generators/deck/templates/config/initializers/cypress.rb
decko-0.11.6 lib/decko/generators/deck/templates/config/initializers/cypress.rb
decko-0.11.5 lib/decko/generators/deck/templates/config/initializers/cypress.rb
decko-0.11.4 lib/decko/generators/deck/templates/config/initializers/cypress.rb
decko-0.11.3 lib/decko/generators/deck/templates/config/initializers/cypress.rb
decko-0.11.2 lib/decko/generators/deck/templates/config/initializers/cypress.rb
decko-0.11.1 lib/decko/generators/deck/templates/config/initializers/cypress.rb
decko-0.11.0 lib/decko/generators/deck/templates/config/initializers/cypress.rb