Sha256: cd89a3e6322f96a9f55d58915cf7f89c6c171bb79cf943cc7e7218b450738926

Contents?: true

Size: 957 Bytes

Versions: 5

Compression:

Stored size: 957 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'rspec'
require 'pry'
require 'ravelry'
require_relative 'helpers/helpers'
require_relative 'helpers/pattern_helpers'
require_relative 'helpers/pack_helpers'
require_relative 'helpers/yarn_helpers'
require_relative 'helpers/yarn_weight_helpers'

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}

RSpec.configure do |config|
  config.include Helpers
  config.include PatternHelpers
  config.include PackHelpers
  config.include YarnHelpers
  config.include YarnWeightHelpers
  config.order = "random"
  config.before(:all) do
    Ravelry.configure do |config|
      config.access_key = ENV['RAV_ACCESS']
      config.secret_key = ENV['RAV_SECRET']
      config.personal_key = ENV['RAV_PERSONAL']
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ravelry-0.0.6 spec/spec_helper.rb
ravelry-0.0.5 spec/spec_helper.rb
ravelry-0.0.4 spec/spec_helper.rb
ravelry-0.0.2 spec/spec_helper.rb
ravelry-0.0.1 spec/spec_helper.rb