summaryrefslogtreecommitdiff
path: root/spec/tasks/gitlab/cleanup_rake_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/tasks/gitlab/cleanup_rake_spec.rb')
-rw-r--r--spec/tasks/gitlab/cleanup_rake_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/tasks/gitlab/cleanup_rake_spec.rb b/spec/tasks/gitlab/cleanup_rake_spec.rb
index 19794227d9f..08b8420ef61 100644
--- a/spec/tasks/gitlab/cleanup_rake_spec.rb
+++ b/spec/tasks/gitlab/cleanup_rake_spec.rb
@@ -111,7 +111,7 @@ describe 'gitlab:cleanup rake tasks' do
end
it 'logs action as done' do
- expect(logger).to receive(:info).with("Looking for orphaned project uploads to clean up...")
+ expect(logger).to receive(:info).with(_("Looking for orphaned project uploads to clean up..."))
expect(logger).to receive(:info).with("Did fix #{path} -> #{new_path}")
run_rake_task('gitlab:cleanup:project_uploads')
@@ -127,7 +127,7 @@ describe 'gitlab:cleanup rake tasks' do
end
it 'logs action as able to be done' do
- expect(logger).to receive(:info).with("Looking for orphaned project uploads to clean up. Dry run...")
+ expect(logger).to receive(:info).with(_("Looking for orphaned project uploads to clean up. Dry run..."))
expect(logger).to receive(:info).with("Can fix #{path} -> #{new_path}")
expect(logger).to receive(:info).with(/To clean up these files run this command with DRY_RUN=false/)