Sha256: a141813e681fa0790692a861a7b1e072d6a84b44b59f35c6991e10bbd8d3f9c9

Contents?: true

Size: 615 Bytes

Versions: 8

Compression:

Stored size: 615 Bytes

Contents

class << Agilibox::CucumberConfig = Class.new
  undef new

  attr_writer :phantomjs_version

  def phantomjs_version
    @phantomjs_version ||= "2.1.1"
  end

  attr_writer :phantomjs_window_size

  def phantomjs_window_size
    @phantomjs_window_size ||= [1680, 1050]
  end

  attr_writer :databasecleaner_tables

  def databasecleaner_tables
    @databasecleaner_tables ||= %w(
      ar_internal_metadata
      schema_migrations
      spatial_ref_sys
    )
  end

  def require_all_helpers!
    files = Dir.glob Agilibox::Engine.root.join("features/support/*.rb")
    files.each { |file| require file }
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
agilibox-1.1.0 lib/agilibox/cucumber_config.rb
agilibox-1.0.15 lib/agilibox/cucumber_config.rb
agilibox-1.0.14 lib/agilibox/cucumber_config.rb
agilibox-1.0.13 lib/agilibox/cucumber_config.rb
agilibox-1.0.12 lib/agilibox/cucumber_config.rb
agilibox-1.0.11 lib/agilibox/cucumber_config.rb
agilibox-1.0.10 lib/agilibox/cucumber_config.rb
agilibox-1.0.9 lib/agilibox/cucumber_config.rb