Sha256: 52859650e21aaecb1eb62c24533f455c69238c5cbbc81b0af4bfcf8b8c6e7edf

Contents?: true

Size: 665 Bytes

Versions: 9

Compression:

Stored size: 665 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'rspec'

if ENV['COVERAGE']
  require 'simplecov'
  SimpleCov.start
end

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

module Natives
  module FixtureSupport
    def fixture_path
      RSpec.configuration.fixture_path
    end
  end
end

RSpec.configure do |config|
  config.add_setting :fixture_path
  config.fixture_path = File.join(File.dirname(__FILE__), 'fixtures')

  config.include Natives::FixtureSupport
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
natives-0.6.2 spec/spec_helper.rb
natives-0.6.1 spec/spec_helper.rb
natives-0.6.0 spec/spec_helper.rb
natives-0.5.5 spec/spec_helper.rb
natives-0.5.4 spec/spec_helper.rb
natives-0.5.3 spec/spec_helper.rb
natives-0.5.2 spec/spec_helper.rb
natives-0.5.1 spec/spec_helper.rb
natives-0.5.0 spec/spec_helper.rb