Correct typo

pull/2081/head
Hagen Schink 10 years ago
parent e7a2c80b44
commit 2a59258572
  1. 2
      lib/api/errors/unauthorized.rb
  2. 2
      spec/requests/api/v3/support/response_examples.rb

@ -31,7 +31,7 @@ module API
module Errors
class Unauthorized < ErrorBase
def initialize
super 403, 'You are not authorize to access this resource.'
super 403, 'You are not authorized to access this resource.'
end
end
end

@ -57,7 +57,7 @@ shared_examples_for 'unauthorized access' do
it_behaves_like 'error response',
403,
'MissingPermission',
'You are not authorize to access this resource'
'You are not authorized to access this resource'
end
shared_examples_for 'not found' do |id, type|

Loading…
Cancel
Save