summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab_spec.rb
diff options
context:
space:
mode:
authorAsh McKenzie <amckenzie@gitlab.com>2019-09-04 11:57:25 +1000
committerAsh McKenzie <amckenzie@gitlab.com>2019-09-05 12:54:03 +1000
commit124bad7bd88e7c329583ec3757eb0ba5fcec66e6 (patch)
treed6ed77fd8739381bf17ce9b0f7774ec78f3c0561 /spec/lib/gitlab_spec.rb
parent0fca70a40f5067b333ff62e556754b9dd04e26f9 (diff)
downloadgitlab-ce-124bad7bd88e7c329583ec3757eb0ba5fcec66e6.tar.gz
RailsHelpers.stub_rails_env takes care of stubbing Rails.env
Diffstat (limited to 'spec/lib/gitlab_spec.rb')
-rw-r--r--spec/lib/gitlab_spec.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/lib/gitlab_spec.rb b/spec/lib/gitlab_spec.rb
index 74d4b12a070..589dac61528 100644
--- a/spec/lib/gitlab_spec.rb
+++ b/spec/lib/gitlab_spec.rb
@@ -3,8 +3,6 @@
require 'spec_helper'
describe Gitlab do
- include RailsHelpers
-
describe '.root' do
it 'returns the root path of the app' do
expect(described_class.root).to eq(Pathname.new(File.expand_path('../..', __dir__)))