Sha256: f744e6cf3013e799488034d26f3aaf7181c15359305ae413115c8617354efbde
Contents?: true
Size: 562 Bytes
Versions: 8
Compression:
Stored size: 562 Bytes
Contents
# 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
Version data entries
8 entries across 8 versions & 1 rubygems