repo.or.cz
/
ruby-calais.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
license key must now be passed in rather than loaded from YAML file
[ruby-calais.git]
/
spec
/
helper.rb
blob
27b398d02293c7b6a23fc42fdd2083f3d974bf38
1
require 'rubygems'
2
require 'spec'
3
require 'yaml'
4
5
require File.dirname(__FILE__) + '/../lib/calais'
6
7
SAMPLE_DOCUMENT = File.read(File.join(File.dirname(__FILE__), 'fixtures/slovenia_euro.xml'))
8
LICENSE_ID = YAML.load(File.read(File.join(File.dirname(__FILE__), 'fixtures/calais.yml')))['key']