Sha256: 83ac53b48c7c298dd7b5835489dacb6c54410cb5153dd462bbbb922e30b56236

Contents?: true

Size: 386 Bytes

Versions: 8

Compression:

Stored size: 386 Bytes

Contents

if defined?(CypressDev)
  CypressDev.configure do |c|
    c.cypress_folder = File.expand_path("#{__dir__}/../../<%= options.cypress_folder %>")
    # WARNING!! CypressDev 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.test?
    c.logger = Rails.logger
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cypress-on-rails-1.3.0 lib/generators/cypress_dev/templates/config/initializers/cypress_dev.rb.erb
cypress-on-rails-1.2.1 lib/generators/cypress_dev/templates/config/initializers/cypress_dev.rb.erb
cypress-on-rails-1.2.0 lib/generators/cypress_dev/templates/config/initializers/cypress_dev.rb.erb
cypress-on-rails-1.1.1 lib/generators/cypress_dev/templates/config/initializers/cypress_dev.rb.erb
cypress-on-rails-1.1.0 lib/generators/cypress_dev/templates/config/initializers/cypress_dev.rb.erb
cypress-on-rails-1.0.1 lib/generators/cypress_dev/templates/config/initializers/cypress_dev.rb.erb
cypress-on-rails-1.0.0 lib/generators/cypress_dev/templates/config/initializers/cypress_dev.rb.erb
cypress-on-rails-1.0.0.beta2 lib/generators/cypress_dev/templates/config/initializers/cypress_dev.rb.erb