diff options
Diffstat (limited to 'spec/graphql/resolvers/projects/jira_imports_resolver_spec.rb')
-rw-r--r-- | spec/graphql/resolvers/projects/jira_imports_resolver_spec.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/graphql/resolvers/projects/jira_imports_resolver_spec.rb b/spec/graphql/resolvers/projects/jira_imports_resolver_spec.rb index 7146bfb441b..9811075a613 100644 --- a/spec/graphql/resolvers/projects/jira_imports_resolver_spec.rb +++ b/spec/graphql/resolvers/projects/jira_imports_resolver_spec.rb @@ -40,16 +40,6 @@ describe Resolvers::Projects::JiraImportsResolver do let_it_be(:jira_import1) { create(:jira_import_state, :finished, project: project, jira_project_key: 'AA', created_at: 2.days.ago) } let_it_be(:jira_import2) { create(:jira_import_state, :finished, project: project, jira_project_key: 'BB', created_at: 5.days.ago) } - context 'when feature flag disabled' do - let(:current_user) { user } - - before do - stub_feature_flags(jira_issue_import: false) - end - - it_behaves_like 'no Jira import access' - end - context 'when user cannot read Jira imports' do context 'when anonymous user' do let(:current_user) { nil } |