diff options
Diffstat (limited to 'spec/graphql/features/authorization_spec.rb')
-rw-r--r-- | spec/graphql/features/authorization_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/graphql/features/authorization_spec.rb b/spec/graphql/features/authorization_spec.rb index faf19104731..514f63a6f5a 100644 --- a/spec/graphql/features/authorization_spec.rb +++ b/spec/graphql/features/authorization_spec.rb @@ -326,7 +326,7 @@ RSpec.describe 'DeclarativePolicy authorization in GraphQL ' do let!(:other_project) { create(:project, :private) } let!(:visible_issues) { create_list(:issue, 2, project: visible_project) } let!(:other_issues) { create_list(:issue, 2, project: other_project) } - let!(:user) { visible_project.owner } + let!(:user) { visible_project.first_owner } let(:issue_type) do type_factory do |type| |