Skip to content

Instantly share code, notes, and snippets.

@biot023
Created February 4, 2011 18:03
Show Gist options
  • Save biot023/811463 to your computer and use it in GitHub Desktop.
Save biot023/811463 to your computer and use it in GitHub Desktop.
ENV['RACK_ENV'] = 'test'
require 'rubygems'
require 'bundler'
Bundler.setup
require 'rack/test'
require_relative '../lib/highscoregasm.rb'
module RSpecMixinExample
include Rack::Test::Methods
def app() Highscoregasm end
end
RSpec.configure { |c| c.include RSpecMixinExample }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment