debian-mirror-gitlab/spec/policies/namespaces/project_namespace_policy_spec.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
365 B
Ruby
Raw Permalink Normal View History

2021-11-18 22:05:49 +05:30
# frozen_string_literal: true
require 'spec_helper'
2022-01-26 12:08:38 +05:30
RSpec.describe Namespaces::ProjectNamespacePolicy do
2021-11-18 22:05:49 +05:30
subject { described_class.new(current_user, namespace) }
2022-08-27 11:52:29 +05:30
it_behaves_like 'checks timelog categories permissions' do
let(:project) { create(:project) }
let(:namespace) { project.project_namespace }
let(:users_container) { project }
2021-11-18 22:05:49 +05:30
end
end