Sha256: b9ac9002c65fc54a64debbc4b2c4a1a0009fa7a283f3539164b4c1b67253c960

Contents?: true

Size: 638 Bytes

Versions: 30

Compression:

Stored size: 638 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 root_path
  Pathname.new(File.expand_path(File.join(__FILE__, '..', '..')))
end

def fixture_path
  root_path + 'spec' + 'fixtures'
end

def resources_path
  root_path + 'resources'
end

def schema_path
  resources_path + 'kwalify-schemas'
end

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

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
rspec-system-2.8.0 spec/spec_helper.rb
rspec-system-2.7.2 spec/spec_helper.rb
rspec-system-2.7.1 spec/spec_helper.rb
rspec-system-2.7.0 spec/spec_helper.rb
rspec-system-2.6.0 spec/spec_helper.rb
rspec-system-2.5.1 spec/spec_helper.rb
rspec-system-2.5.0 spec/spec_helper.rb
rspec-system-2.4.0 spec/spec_helper.rb
rspec-system-2.3.0 spec/spec_helper.rb
rspec-system-2.2.1 spec/spec_helper.rb
rspec-system-2.2.0 spec/spec_helper.rb
rspec-system-2.1.2 spec/spec_helper.rb
rspec-system-2.1.1 spec/spec_helper.rb
rspec-system-2.1.0 spec/spec_helper.rb
rspec-system-1.7.1 spec/spec_helper.rb
rspec-system-2.0.0 spec/spec_helper.rb
rspec-system-1.7.0 spec/spec_helper.rb
rspec-system-1.6.0 spec/spec_helper.rb
rspec-system-1.5.0 spec/spec_helper.rb
rspec-system-1.4.0 spec/spec_helper.rb