Sha256: f01acb761ccc1b4bf66fd56bf7d6fe8e89a6f51d5f91465525c9495068b84494

Contents?: true

Size: 426 Bytes

Versions: 3

Compression:

Stored size: 426 Bytes

Contents

require 'pry'
require 'brief'

Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

module Brief
  def self.spec_root
    Pathname(File.dirname(__FILE__))
  end

  def self.example_path
    example.root
  end

  def self.example
    @example ||= Brief::Briefcase.new(root:spec_root.join("fixtures","example"))
  end
end

RSpec.configure do |config|
  config.mock_with :rspec
  #config.order = "random"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
brief-1.2.0 spec/spec_helper.rb
brief-1.1.0 spec/spec_helper.rb
brief-1.0.0 spec/spec_helper.rb