Created
May 20, 2009 20:12
-
-
Save flazz/115059 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem 'rack-test', '~>0.3.0' | |
require 'rack/test' | |
gem 'webrat', '~>0.4.2' | |
require 'webrat/sinatra' | |
# path to schematron | |
$:.unshift File.join(File.dirname(__FILE__), '../../../schematron/lib') | |
$:.unshift File.dirname(__FILE__) | |
require 'app' | |
require 'spec/expectations' | |
Pim::App.set :environment, :development | |
World do | |
def app | |
@app = Rack::Builder.new do | |
run Pim::App | |
end | |
end | |
include Rack::Test::Methods | |
include Webrat::Methods | |
include Webrat::Matchers | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment