profiles_controller_spec.rb 300 B

12345678910111213141516
  1. require 'rails_helper'
  2. RSpec.describe Settings::ProfilesController, type: :controller do
  3. before do
  4. sign_in Fabricate(:user), scope: :user
  5. end
  6. describe "GET #show" do
  7. it "returns http success" do
  8. get :show
  9. expect(response).to have_http_status(:success)
  10. end
  11. end
  12. end