summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2019-07-30 13:56:37 +0100
committerSean McGivern <sean@gitlab.com>2019-08-01 11:07:28 +0100
commit930026f49b75b8d31b3c218923f9d0d2bb77a08a (patch)
treef0f31b6784fc90e743e228f607267b60deee53a3
parent6eb192327e2aa4bcd9b697587f189967c8e2446d (diff)
downloadgitlab-ce-930026f49b75b8d31b3c218923f9d0d2bb77a08a.tar.gz
Remove mail_google_schema_whitelisting spec
This task was removed in 2014! The spec wasn't, probably because it didn't fail as it was never executed. See 0fc5c80207a1ebcfbdae1d0d16b9aeb984bac271.
-rw-r--r--spec/tasks/gitlab/mail_google_schema_whitelisting_spec.rb27
1 files changed, 0 insertions, 27 deletions
diff --git a/spec/tasks/gitlab/mail_google_schema_whitelisting_spec.rb b/spec/tasks/gitlab/mail_google_schema_whitelisting_spec.rb
deleted file mode 100644
index 8d1cff7a261..00000000000
--- a/spec/tasks/gitlab/mail_google_schema_whitelisting_spec.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-require 'spec_helper'
-require 'rake'
-
-describe 'gitlab:mail_google_schema_whitelisting rake task' do
- before :all do
- Rake.application.rake_require "tasks/gitlab/helpers"
- Rake.application.rake_require "tasks/gitlab/mail_google_schema_whitelisting"
- # empty task as env is already loaded
- Rake::Task.define_task :environment
- end
-
- describe 'call' do
- before do
- # avoid writing task output to spec progress
- allow($stdout).to receive :write
- end
-
- let :run_rake_task do
- Rake::Task["gitlab:mail_google_schema_whitelisting"].reenable
- Rake.application.invoke_task "gitlab:mail_google_schema_whitelisting"
- end
-
- it 'runs the task without errors' do
- expect { run_rake_task }.not_to raise_error
- end
- end
-end