Sha256: 1fcada9089f33e9d02db50b58f5e26eabaad8b01a3fbf222fce5cfc20de143fd

Contents?: true

Size: 624 Bytes

Versions: 1

Compression:

Stored size: 624 Bytes

Contents

require 'active_support/dependencies/autoload'

module Cypress
  extend ActiveSupport::Autoload
  
  autoload :Server,          'cypress/server'
  autoload :CallbackServer,  'cypress/callback_server'
  autoload :Runner,          'cypress/runner'
  autoload :ScenarioBank,    'cypress/scenario_bank'
  autoload :ScenarioContext, 'cypress/scenario_context'
  autoload :Configuration,   'cypress/configuration'

  def self.configuration
    @configuration ||= Configuration.new
  end

  def self.configure(&block)
    yield configuration if block_given?
  end
end

if defined?(Rails)
  require_relative './cypress/railtie'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cypress-on-rails-0.1.5 lib/cypress.rb