3836d69119
Partially addresses #47424. Had to make changes to spec files because stubbing methods on frozen objects is a mess in RSpec and leads to failures: https://github.com/rspec/rspec-mocks/issues/1190
15 lines
240 B
Ruby
15 lines
240 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'backup/files'
|
|
|
|
module Backup
|
|
class Pages < Files
|
|
attr_reader :progress
|
|
|
|
def initialize(progress)
|
|
@progress = progress
|
|
|
|
super('pages', Gitlab.config.pages.path)
|
|
end
|
|
end
|
|
end
|