Skip to content

Instantly share code, notes, and snippets.

View skiz's full-sized avatar
🎯
Focusing

Josh Martin skiz

🎯
Focusing
View GitHub Profile
@bmabey
bmabey / env.rb
Created June 4, 2009 01:09
how to get spork working for cucumber in a rails app
require 'rubygems'
require 'spork'
Spork.prefork do
# Sets up the Rails environment for Cucumber
ENV["RAILS_ENV"] ||= "cucumber"
require File.expand_path(File.dirname(__FILE__) + '/../../config/environment')
require 'webrat'