Commit cc9b1e7f authored by Mathieu Parent's avatar Mathieu Parent Committed by Kerri Miller

Rename Debian GetOrCreateIncomingService to FindOrCreateIncomingService

parent 10f0892c
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
module Packages module Packages
module Debian module Debian
class GetOrCreateIncomingService < ::Packages::CreatePackageService class FindOrCreateIncomingService < ::Packages::CreatePackageService
def execute def execute
find_or_create_package!(:debian, name: 'incoming', version: nil) find_or_create_package!(:debian, name: 'incoming', version: nil)
end end
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
RSpec.describe Packages::Debian::GetOrCreateIncomingService do RSpec.describe Packages::Debian::FindOrCreateIncomingService do
let_it_be(:project) { create(:project) } let_it_be(:project) { create(:project) }
let_it_be(:user) { create(:user) } let_it_be(:user) { create(:user) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment