#349: updated specs for users/profile_controller
This commit is contained in:
parent
ffe38b0a08
commit
cfde461521
|
@ -15,9 +15,9 @@ describe Users::ProfileController do
|
|||
end
|
||||
|
||||
context 'for guest' do
|
||||
it 'should not be able to view profile' do
|
||||
it 'should be able to view profile' do
|
||||
get :show, :uname => @simple_user.uname
|
||||
response.should redirect_to(new_user_session_path)
|
||||
response.code.should eq('200')
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue