debian-mirror-gitlab/spec/policies/namespaces/project_namespace_policy_spec.rb
2022-08-27 11:52:29 +05:30

13 lines
365 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Namespaces::ProjectNamespacePolicy do
subject { described_class.new(current_user, namespace) }
it_behaves_like 'checks timelog categories permissions' do
let(:project) { create(:project) }
let(:namespace) { project.project_namespace }
let(:users_container) { project }
end
end