Using Rspec with Factory Girl. Trying to check out what data is being assigned in my controller (and test against it). Every post I\'ve read says I should be able to get someth
You have to invoke the action first
describe StickiesController do describe "GET index" do it "should assign stickies" do get :index assigns(:stickies).should_not be_nil end end end