Sha256: 88e38be6176f52cd22967a3cbd074fb3665ca916e8ede88c7a6a51236d97d3d3

Contents?: true

Size: 407 Bytes

Versions: 3

Compression:

Stored size: 407 Bytes

Contents

require 'tree_config'
require 'pathname'
require 'bundler/setup'

RSpec.configure do |c|
  c.color = true
  c.run_all_when_everything_filtered = true
  c.before(:all) do
    @fixture_path = Pathname.new(File.join(File.dirname(__FILE__), '/fixtures'))
    raise "Fixture folder not found" unless @fixture_path.directory?
  end

  def setting_folder(folder_name)
    @fixture_path.join(folder_name)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tree_config-0.0.3 spec/spec_helper.rb
tree_config-0.0.2 spec/spec_helper.rb
tree_config-0.0.1 spec/spec_helper.rb