Created
June 2, 2009 17:45
-
-
Save mischa/122388 to your computer and use it in GitHub Desktop.
This file contains 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
# Relating to: https://rspec.lighthouseapp.com/projects/16211-cucumber/tickets/332-cucumber-server | |
ENV["RAILS_ENV"] = "test" | |
require File.expand_path(File.dirname(__FILE__) + '/../../config/environment') | |
require 'cucumber/rails/world' | |
require 'cucumber/formatters/unicode' # Comment out this line if you don't want Cucumber Unicode support | |
Cucumber::Rails.use_transactional_fixtures | |
require 'webrat' | |
require 'webrat/core/matchers' | |
require 'spec' | |
Webrat.configure do |config| | |
config.mode = :rails | |
config.open_error_files = false | |
end | |
require 'cucumber/rails/rspec' | |
require 'webrat/rspec-rails' | |
require 'email_spec/cucumber' | |
require 'cucumber_rails_debug/steps' | |
require File.expand_path(RAILS_ROOT + "/spec/blueprints") | |
ApplicationController.send(:public, :logged_in?, :current_user, :current_account) | |
require 'spork' | |
Spork.prefork do | |
puts "I'm loading all the heavy stuff..." | |
end | |
Spork.each_run do | |
puts "I'm loading the stuff just for this run..." | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment