diaspora/spec/controllers/users_controller_spec.rb
2010-06-13 22:11:16 -07:00

18 lines
459 B
Ruby

require File.dirname(__FILE__) + '/../spec_helper'
describe UsersController do
before do
#TODO(dan) Mocking Warden; this is a temp fix
request.env['warden'] = mock_model(Warden, :authenticate => @user, :authenticate! => @user)
end
render_views
#fixtures :all
it 'should, after logging in redirect to the dashboard page' do
pending
#go to /login
#fill in the form
#stub create action
#should get a redirect
end
end