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:
authorAsh McKenzie <amckenzie@gitlab.com>2019-09-04 04:57:25 +0300
committerAsh McKenzie <amckenzie@gitlab.com>2019-09-05 05:54:03 +0300
commit124bad7bd88e7c329583ec3757eb0ba5fcec66e6 (patch)
treed6ed77fd8739381bf17ce9b0f7774ec78f3c0561 /spec/lib/gitlab/favicon_spec.rb
parent0fca70a40f5067b333ff62e556754b9dd04e26f9 (diff)
Use stub_rails_env for Rails.env stubbing
RailsHelpers.stub_rails_env takes care of stubbing Rails.env
Diffstat (limited to 'spec/lib/gitlab/favicon_spec.rb')
-rw-r--r--spec/lib/gitlab/favicon_spec.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/lib/gitlab/favicon_spec.rb b/spec/lib/gitlab/favicon_spec.rb
index 63c26e29d73..d221f39c2ed 100644
--- a/spec/lib/gitlab/favicon_spec.rb
+++ b/spec/lib/gitlab/favicon_spec.rb
@@ -1,8 +1,6 @@
require 'spec_helper'
RSpec.describe Gitlab::Favicon, :request_store do
- include RailsHelpers
-
describe '.main' do
it 'defaults to favicon.png' do
stub_rails_env('production')