Sha256: 8464c37f4ab6835083366bea42f61e439471a19d0131e09472ba8a86cc0aad44
Contents?: true
Size: 349 Bytes
Versions: 7
Compression:
Stored size: 349 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' RSpec.describe Admin::ApplicationController, type: :controller do describe 'Require authentication' do context 'when requesting /admin/*' do it { is_expected.to use_before_action(:authenticate_user!) } it { is_expected.to use_before_action(:ensure_admin!) } end end end
Version data entries
7 entries across 7 versions & 1 rubygems