Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-15 09:09:11 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-15 09:09:11 +0300
commita7d1525878904f2f8326baf1c8108f2204ac50cb (patch)
treeda855edafb086adebe33c5eed462d753b58e2836 /spec/lib/gitlab/runtime_spec.rb
parentb69f406585ff64b1c5140ebba775cc754fabb358 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/gitlab/runtime_spec.rb')
-rw-r--r--spec/lib/gitlab/runtime_spec.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/lib/gitlab/runtime_spec.rb b/spec/lib/gitlab/runtime_spec.rb
index f6e8ad8ae79..56df73161b4 100644
--- a/spec/lib/gitlab/runtime_spec.rb
+++ b/spec/lib/gitlab/runtime_spec.rb
@@ -97,4 +97,12 @@ describe Gitlab::Runtime do
it_behaves_like "valid runtime", :geo_log_cursor, 1
end
+
+ context "rails runner" do
+ before do
+ stub_const('::Rails::Command::RunnerCommand', double('::Rails::Command::RunnerCommand'))
+ end
+
+ it_behaves_like "valid runtime", :rails_runner, 1
+ end
end