diff options
Diffstat (limited to 'spec/services/packages/nuget/check_duplicates_service_spec.rb')
-rw-r--r-- | spec/services/packages/nuget/check_duplicates_service_spec.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/services/packages/nuget/check_duplicates_service_spec.rb b/spec/services/packages/nuget/check_duplicates_service_spec.rb index 9675aa5f5e2..6274036800a 100644 --- a/spec/services/packages/nuget/check_duplicates_service_spec.rb +++ b/spec/services/packages/nuget/check_duplicates_service_spec.rb @@ -3,8 +3,6 @@ require 'spec_helper' RSpec.describe Packages::Nuget::CheckDuplicatesService, feature_category: :package_registry do - include PackagesManagerApiSpecHelpers - let_it_be(:project) { create(:project) } let_it_be(:user) { create(:user) } let_it_be(:file_name) { 'package.nupkg' } @@ -12,7 +10,7 @@ RSpec.describe Packages::Nuget::CheckDuplicatesService, feature_category: :packa let(:params) do { file_name: file_name, - file: temp_file(file_name) + file: File.open(expand_fixture_path('packages/nuget/package.nupkg')) } end |