address_policy_spec.rb 253 Bytes
Newer Older
1 2 3 4 5 6 7
require 'rails_helper'

RSpec.describe AddressPolicy do
  let(:user) { User.new }

  subject { described_class }

hellekin's avatar
hellekin committed
8 9
  permissions :index? do
    pending 'is allowed to maintainer'
10
  end
hellekin's avatar
hellekin committed
11
  
12
  permissions :show? do
hellekin's avatar
hellekin committed
13
    pending 'is always allowed'
14 15
  end
end