#349: updated specs for users/profile_controller

This commit is contained in:
Vokhmin Alexey V 2012-10-02 16:07:46 +04:00
parent ffe38b0a08
commit cfde461521
1 changed files with 2 additions and 2 deletions

View File

@ -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