Hey Jarkko, Thanks for the feedback. I tried your suggestion and it doesn't seem to work.
To quickly recap I'm just testing in my controller that this works
def index
@entries = current_user.entries
end
describe "on the main page" do
it "should show all the current entries for the user" do
get :index
assigns[:entries].should == @entries
end
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users
