Skip to content

Commit c859da5

Browse files
committed
[RUBY-4069] suppressing false positive SonarCloud warning
1 parent fec58a3 commit c859da5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/rails_helper.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# frozen_string_literal: true
22

3-
ENV["RAILS_ENV"] ||= "test"
4-
53
# This file is copied to spec/ when you run 'rails generate rspec:install'
64
require "spec_helper"
5+
# @SuppressWarnings("rubydre:S7816")
6+
ENV["RAILS_ENV"] ||= "test"
77
require File.expand_path("dummy/config/environment", __dir__)
88
require "rspec/rails"
99
# require "capybara/rspec"

0 commit comments

Comments
 (0)