# frozen_string_literal: true require "rails_helper" module Archangel module Backend RSpec.describe DashboardsController, type: :controller do before { stub_authorization! create(:user) } describe "loads correct layout" do it "loads correct view" do get :show expect(response).to render_with_layout("backend") end end describe "GET #show" do it "loads correct view" do get :show expect(response).to render_template(:show) end end end end end