Skip to content

Instantly share code, notes, and snippets.

@steveklabnik
Created September 5, 2011 16:43
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save steveklabnik/1195433 to your computer and use it in GitHub Desktop.
Save steveklabnik/1195433 to your computer and use it in GitHub Desktop.
dont load rails!
require 'active_record'
require "#{Rails.root}/app/models/user"
describe User do
it "does something sweet"
it "does something cool"
end
require 'spec_helper' #slooooow loads all of rails and everything
describe User do
it "does something sweet"
it "does something cool"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment