Sha256: ce60baa6298839e32fecbf19ef02ed75710124858a98b63a74fc656247b4b8ea

Contents?: true

Size: 1.12 KB

Versions: 4

Compression:

Stored size: 1.12 KB

Contents

# coding: utf-8
begin
  require 'spec'
  require 'active_support'
rescue LoadError
  require 'rubygems' unless ENV['NO_RUBYGEMS']
  gem 'rspec'
  require 'spec'
  gem 'activesupport'
  require 'active_support'
end

begin
  require 'rdf/redland'
  $redland_enabled = true
rescue LoadError
end

ActiveSupport::XmlMini.backend = 'Nokogiri'

$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$:.unshift File.dirname(__FILE__)
require 'rdf_context'
require 'matchers'

include RdfContext

TMP_DIR = File.join(File.dirname(__FILE__), 'tmp')

SWAP_DIR = File.join(File.dirname(__FILE__), 'swap_test')
SWAP_TEST = "http://www.w3.org/2000/10/swap/test/n3parser.tests"
CWM_TEST = "http://www.w3.org/2000/10/swap/test/regression.n3"

TURTLE_DIR = File.join(File.dirname(__FILE__), 'turtle')
TURTLE_TEST = "http://www.w3.org/2001/sw/DataAccess/df1/tests/manifest.ttl"
TURTLE_BAD_TEST = "http://www.w3.org/2001/sw/DataAccess/df1/tests/manifest-bad.ttl"

RDFCORE_DIR = File.join(File.dirname(__FILE__), 'rdfcore')
RDFCORE_TEST = "http://www.w3.org/2000/10/rdf-tests/rdfcore/Manifest.rdf"

Spec::Runner.configure do |config|
  config.include(Matchers)
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rdf_context-0.5.3 spec/spec_helper.rb
rdf_context-0.5.2 spec/spec_helper.rb
rdf_context-0.5.1 spec/spec_helper.rb
rdf_context-0.5.0 spec/spec_helper.rb