Module: Guard::RSpec::Options

Defined in:
lib/guard/rspec/options.rb

Constant Summary collapse

DEFAULTS =
{
  all_on_start:    false,
  all_after_pass:  false,
  run_all:         { message: "Running all specs" },
  failed_mode:     :none, # :keep and :focus are other posibilities
  spec_paths:      %w(spec),
  cmd:             nil,
  cmd_additional_args: nil,
  launchy:         nil,
  notification:    true,
  title:           "RSpec results",
  bundler_env:     :original_env
}.freeze

Class Method Summary collapse

Class Method Details

.with_defaults(options = {}) ⇒ Object



19
20
21
# File 'lib/guard/rspec/options.rb', line 19

def with_defaults(options = {})
  _deep_merge(DEFAULTS, options)
end