Sha256: ca33c31ea84e6839a3352631b6fadd55827ded1aa5f87d8d75bff51d4cc7f35d

Contents?: true

Size: 696 Bytes

Versions: 3

Compression:

Stored size: 696 Bytes

Contents

require 'rubygems'
require 'rspec'
require 'yaml'

require File.dirname(__FILE__) + '/../lib/calais'

FIXTURES_DIR = File.join File.dirname(__FILE__), %[fixtures]
SAMPLE_DOCUMENT = File.read(File.join(FIXTURES_DIR, %[bicycles_australia.xml]))
SAMPLE_RESPONSE = File.read(File.join(FIXTURES_DIR, %[bicycles_australia.response.rdf]))
SAMPLE_RESPONSE_WITH_NO_SCORE = File.read(File.join(FIXTURES_DIR, %[twitter_tweet_without_score.response.rdf]))
RESPONSE_WITH_EXCEPTION = File.read(File.join(FIXTURES_DIR, %[error.response.xml]))
LICENSE_ID = YAML.load(File.read(File.join(FIXTURES_DIR, %[calais.yml])))['key']

RSpec.configure do |c|
  c.treat_symbols_as_metadata_keys_with_true_values = true
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
jm-calais-0.0.13 spec/helper.rb
calais-0.0.13 spec/helper.rb
calais-0.0.12 spec/helper.rb