Sha256: 6515ff10527dbd7c91fc93f4aefa53b6db2e78ba3526b7e4dc6eea31cc718a12
Contents?: true
Size: 487 Bytes
Versions: 4
Compression:
Stored size: 487 Bytes
Contents
# frozen_string_literal: true require "rails_helper" module Archangel RSpec.describe TemplatePolicy, type: :policy do subject { described_class.new(user, record) } let(:user) { create(:user) } let(:record) { create(:template) } it { should permit(:index) } it { should permit(:show) } it { should permit(:create) } it { should permit(:new) } it { should permit(:update) } it { should permit(:edit) } it { should permit(:destroy) } end end
Version data entries
4 entries across 4 versions & 1 rubygems