Use 'when logging as guest' for context, feedback:

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5347#note_13200997
This commit is contained in:
Lin Jen-Shin 2016-07-20 23:17:49 +08:00
parent e8bab842cb
commit a77a58dffb

View file

@ -194,7 +194,7 @@ describe API::API, api: true do
end
end
context 'when forbidden' do
context 'when logging as guest' do
let(:api_user) { guest_user }
before do