@@ -1,6 +1,6 @@
-require 'spec_helper'
+require 'rails_helper'
 
-describe Api::V1::UsersController, '#show' do
+describe Api::V1::UsersController, '#show', type: :controller do
   it 'returns a 401 when users are not authenticated' do
     get :show
     expect(response.code).to eq "401"
require 'spec_helper'

describe Api::V1::UsersController, '#show' do
  it 'returns a 401 when users are not authenticated' do
    get :show
    expect(response.code).to eq "401"
  end
end

Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.