@ -36,7 +36,7 @@ describe ::API::V3::Users::UserRepresenter do
status: 1)
}
let(:current_user) { FactoryGirl.create(:user) }
let(:representer) { described_class.new(user, { current_user: current_user }) }
let(:representer) { described_class.new(user, current_user: current_user) }
context 'generation' do
subject(:generated) { representer.to_json }
@ -77,7 +77,6 @@ describe 'API v3 UserLock resource', type: :request do
it_behaves_like 'not found', 9999, 'User'
end
context 'non-admin user' do
it 'should respond with 403' do
expect(subject.status).to eq(403)