Skip to content

Instantly share code, notes, and snippets.

@mattly
Created April 17, 2009 23:13
Show Gist options
  • Save mattly/97335 to your computer and use it in GitHub Desktop.
Save mattly/97335 to your computer and use it in GitHub Desktop.
mattly@Selene ~clients/[redacted]/[redacted] git:master > rake spec
(in /Users/mattly/clients/[redacted]/[redacted])
spec/spec_helper.rb:12
require 'rspec_on_rails_on_crack'
(rdb:1) p Spec::VERSION::SUMMARY
"rspec 1.2.4"
# FAIL!
ENV["RAILS_ENV"] = "test"
require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
gem 'rspec', '1.1.11'
require 'spec'
gem 'rspec-rails', '1.1.11'
require 'spec/rails'
require 'ruby-debug'
Debugger.start
debugger
require 'rspec_on_rails_on_crack'
require 'shared/rspec_extensions'
require 'model_stubbing'
Spec::ExampleGroup.send :extend, ModelStubbing
include AuthenticatedTestHelper
# among other things...
config.gem 'rspec', :version => '1.1.11', :lib => 'spec'
config.gem 'rspec-rails', :version => '1.1.11', :lib => 'spec/rails'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment