diff options
Diffstat (limited to 'spec/finders/packages/conan/package_finder_spec.rb')
-rw-r--r-- | spec/finders/packages/conan/package_finder_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/finders/packages/conan/package_finder_spec.rb b/spec/finders/packages/conan/package_finder_spec.rb index 6848786818b..f25a62225a8 100644 --- a/spec/finders/packages/conan/package_finder_spec.rb +++ b/spec/finders/packages/conan/package_finder_spec.rb @@ -45,7 +45,7 @@ RSpec.describe ::Packages::Conan::PackageFinder do before do project.update_column(:visibility_level, Gitlab::VisibilityLevel.string_options[visibility.to_s]) - project.add_user(user, role) unless role == :anonymous + project.add_member(user, role) unless role == :anonymous end it { is_expected.to eq(expected_packages) } |