Module: EvilSystems

Defined in:
lib/evil_systems.rb,
lib/evil_systems/engine.rb,
lib/evil_systems/helpers.rb,
lib/evil_systems/version.rb,
lib/evil_systems/settings.rb,
lib/evil_systems/remote_chrome.rb,
lib/evil_systems/cuprite_helpers.rb,
lib/evil_systems/session_helpers.rb,
lib/evil_systems/register_cuprite.rb,
lib/evil_systems/precompile_assets.rb

Overview

Add shortcuts for cuprite-specific debugging helpers

Defined Under Namespace

Modules: CupriteHelpers, Helpers, PrecompileAssets, RegisterCuprite, RemoteChrome, SessionHelpers, Settings Classes: Engine

Constant Summary collapse

VERSION =
"0.1.1"

Class Method Summary collapse

Class Method Details

.initial_setup(task: "assets:precompile", silent: true) ⇒ Object

To be called before module ApplicationSystemTest

Parameters:

  • task (String, nil) (defaults to: "assets:precompile")

    (“assets:precompile”) - the precompile task to run

  • silent (Boolean) (defaults to: true)

    (true) - silence build output and only show asset compilation and time spent compiling.

Returns:

  • void

See Also:


14
15
16
17
18
# File 'lib/evil_systems.rb', line 14

def self.initial_setup(task: "assets:precompile", silent: true)
  Settings.initial_setup
  RegisterCuprite.initial_setup
  PrecompileAssets.initial_setup(task: task, silent: silent)
end