Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Autotest.add_discovery { "rspec2" }
group :test do
gem "rspec-rails", :git => "git://"
gem "rspec", :git => "git://"
gem "rspec-core", :git => "git://"
gem "rspec-expectations", :git => "git://"
gem "rspec-mocks", :git => "git://"
gem 'autotest'
gem 'autotest-rails-pure'
gem 'autotest-growl'
ENV["RAILS_ENV"] ||= 'test'
require 'rubygems'
require 'bundler'
require File.expand_path("../../config/environment", __FILE__)
require 'active_record'
require 'action_controller'
require 'action_mailer'
require 'rspec/rails'
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
RSpec.configure do |config|
config.filter_run :focus => true
config.run_all_when_everything_filtered = true
config.mock_with :rspec
config.fixture_path = "#{::Rails.root}/spec/fixtures"
config.use_transactional_fixtures = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment