Skip to content

Instantly share code, notes, and snippets.

@flazz
Forked from anonymous/gist:99861
Created April 22, 2009 15:37
Show Gist options
  • Save flazz/99862 to your computer and use it in GitHub Desktop.
Save flazz/99862 to your computer and use it in GitHub Desktop.
require 'describe'
require 'fileutils'
require 'spec'
require 'sinatra/test'
require 'spec/interop/test'
set :environment, :test
describe 'Describe Service' do
include Sinatra::Test
abs = FileUtils.pwd
before(:all) do
begin
#load all required JAVA library.
Rjb::load('jars/jhove.jar:jars/jhove-module.jar:jars/jhove-handler.jar:jars/shades.jar:lib/droid.jar')
@url = '/describe'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment