Skip to content

Instantly share code, notes, and snippets.

@lucianosousa
Created April 12, 2011 02:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucianosousa/914824 to your computer and use it in GitHub Desktop.
Save lucianosousa/914824 to your computer and use it in GitHub Desktop.
first step
require 'spec_helper'
describe ProjectsController do
before(:each) do
@user = Factory.create(:user)
@user.stub(:active?).and_return(true)
sign_in @user
end
describe 'Index' do
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment