Sha256: eefee0768716867fabeb901948b314122fecf758c000d65a3e9a2e3c2be71381

Contents?: true

Size: 601 Bytes

Versions: 1

Compression:

Stored size: 601 Bytes

Contents

dir = File.expand_path(File.dirname(__FILE__))
$LOAD_PATH.unshift File.join(dir, 'lib')

require 'rubygems'
require 'bundler/setup'

Bundler.require :default, :test

require 'pathname'
require 'tmpdir'

Pathname.glob("#{dir}/shared_behaviours/**/*.rb") do |behaviour|
  require behaviour.relative_path_from(Pathname.new(dir))
end

def fixture_path
  Pathname.new(File.expand_path(File.join(__FILE__, '..', 'fixtures')))
end
def schema_path
  Pathname.new(File.expand_path(File.join(__FILE__, '..', '..', 'resources', 'kwalify-schemas')))
end

RSpec.configure do |config|
  config.mock_with :mocha
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rspec-system-0.0.2 spec/spec_helper.rb