require 'rubygems' require 'spec' require 'rack/mock' require "json/ext" require 'hash-persistent' $LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'rack/ticket-office/url_filter' require 'rack/ticket-office/ticket' require 'rack/ticket-office/ticket_collection' require 'rack/ticket-office/booth' require 'rack/ticket-office/barrier' class Dummy_NoStringRep undef to_s end class Dummy_RestrictedHash < Hash undef each, each_key, each_pair, each_value #TODO: expand this list, or just add dependency to one of the moneta implementations? end Spec::Runner.configure do |config| end