Sha256: 62fc14ac0efa6492c2870d7d0f83e61a5fcd7d84249230b6e4380914bf8258cf

Contents?: true

Size: 1020 Bytes

Versions: 4

Compression:

Stored size: 1020 Bytes

Contents

# This file was generated by the `rspec --init` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# Require this file using `require "spec_helper"` to ensure that it is only
# loaded once.
#
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration

require 'rubygems'
require 'bundler/setup'

require 'rake'
require 'peony'


class RakeScope
  include Rake::DSL  if Rake.const_defined?(:DSL)
  include Peony::Utils
end

def rake(&blk)
  if block_given?
    @scope ||= RakeScope.new
    @scope.instance_eval &blk
  end

  @scope
end


RSpec.configure do |config|
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.run_all_when_everything_filtered = true
  config.filter_run :focus

  # Run specs in random order to surface order dependencies. If you find an
  # order dependency and want to debug it, you can fix the order by providing
  # the seed, which is printed after each run.
  #     --seed 1234
  config.order = 'random'
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
peony-0.1.6 spec/spec_helper.rb
peony-0.1.2 spec/spec_helper.rb
peony-0.1.1 spec/spec_helper.rb
peony-0.0.2 spec/spec_helper.rb