Sha256: a929986e81e48a291db062d395c61dbf6dfff5613276aeeb442adcf26a8c2dd4
Contents?: true
Size: 514 Bytes
Versions: 4
Compression:
Stored size: 514 Bytes
Contents
# frozen_string_literal: true require "rails_helper" module Archangel RSpec.describe EntryPolicy, type: :policy do subject { described_class.new(user, record) } let(:user) { create(:user) } let(:record) { create(:entry) } 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) } it { should permit(:sort) } end end
Version data entries
4 entries across 4 versions & 1 rubygems