Skip to content

Instantly share code, notes, and snippets.

Created April 22, 2009 15:36
Show Gist options
  • Save anonymous/99861 to your computer and use it in GitHub Desktop.
Save anonymous/99861 to your computer and use it in GitHub Desktop.
require 'describe'
require 'fileutils'
require 'spec'
require 'sinatra/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