user login now drops to a dashboard page
This commit is contained in:
parent
1029fd5854
commit
865d7d18cb
2 changed files with 6 additions and 5 deletions
|
|
@ -1,10 +1,10 @@
|
||||||
- title "Users"
|
- title "Dashboard"
|
||||||
|
|
||||||
%table
|
%table
|
||||||
%tr
|
%tr
|
||||||
|
%th User
|
||||||
%th Password
|
%th Password
|
||||||
- for user in @users
|
- for user in @users
|
||||||
%tr
|
%tr
|
||||||
%td= user.password
|
%td= user.email
|
||||||
|
%td= user.encrypted_password
|
||||||
%p= link_to "New User", new_user_path
|
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,9 @@ require File.dirname(__FILE__) + '/../spec_helper'
|
||||||
|
|
||||||
describe UsersController do
|
describe UsersController do
|
||||||
render_views
|
render_views
|
||||||
|
|
||||||
#fixtures here?
|
#fixtures here?
|
||||||
it 'should, after logging in redirect to the dashboard page' do
|
it 'should, after logging in redirect to the dashboard page' do
|
||||||
pending
|
puts "where is rafi"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue