mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-17 23:57:14 +01:00
52b55dabbb
This is lacking tests (and proper icons), but can talk to a debug provider.
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
|