mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-29 13:31:43 +01:00
30 lines
636 B
Ruby
30 lines
636 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
require 'rails_helper'
|
||
|
|
||
|
RSpec.describe Admin::Fasp::ProviderPolicy, type: :policy do
|
||
|
subject { described_class }
|
||
|
|
||
|
let(:user) { User.new }
|
||
|
|
||
|
permissions '.scope' do
|
||
|
pending "add some examples to (or delete) #{__FILE__}"
|
||
|
end
|
||
|
|
||
|
permissions :show? do
|
||
|
pending "add some examples to (or delete) #{__FILE__}"
|
||
|
end
|
||
|
|
||
|
permissions :create? do
|
||
|
pending "add some examples to (or delete) #{__FILE__}"
|
||
|
end
|
||
|
|
||
|
permissions :update? do
|
||
|
pending "add some examples to (or delete) #{__FILE__}"
|
||
|
end
|
||
|
|
||
|
permissions :destroy? do
|
||
|
pending "add some examples to (or delete) #{__FILE__}"
|
||
|
end
|
||
|
end
|