This instance will be upgraded to Heptapod 0.31.0rc on 2022-05-19 at 11:00 UTC+2 (a few minutes of down time)

Commit 691d2ae9 authored by Ash McKenzie's avatar Ash McKenzie
Browse files

Replace rails_helper.rb with spec_helper.rb

rails_helper.rb's only logic was to require
spec_helper.rb.
parent bc28ec36994b
......@@ -264,8 +264,6 @@ RSpec/EnvAssignment:
Exclude:
- 'spec/**/fast_spec_helper.rb'
- 'ee/spec/**/fast_spec_helper.rb'
- 'spec/**/rails_helper.rb'
- 'ee/spec/**/rails_helper.rb'
- 'spec/**/spec_helper.rb'
- 'ee/spec/**/spec_helper.rb'
RSpec/BeSuccessMatcher:
......
......@@ -3,7 +3,7 @@
require 'bundler/setup'
require 'stackprof'
$:.unshift 'spec'
require 'rails_helper'
require 'spec_helper'
filename = ARGV[0].split('/').last
interval = ENV.fetch('INTERVAL', 1000).to_i
......
......@@ -18,7 +18,7 @@ end
Consider the following API spec:
```ruby
require 'rails_helper'
require 'spec_helper'
describe API::Labels do
it 'creates a first label' do
......@@ -69,7 +69,7 @@ is ok, but `create(:label, title: 'label1')` is not.
Following is the fixed API spec:
```ruby
require 'rails_helper'
require 'spec_helper'
describe API::Labels do
it 'creates a first label' do
......
# frozen_string_literal: true
require 'rails_helper'
require 'spec_helper'
describe Projects::BlobController do
include ProjectForksHelper
......
# frozen_string_literal: true
require 'rails_helper'
require 'spec_helper'
describe SentNotificationsController do
let(:user) { create(:user) }
......
# frozen_string_literal: true
require 'rails_helper'
require 'spec_helper'
describe 'Admin disables Git access protocol', :js do
include StubENV
......
# frozen_string_literal: true
require 'rails_helper'
require 'spec_helper'
describe 'Admin disables 2FA for a user' do
it 'successfully', :js do
......
# frozen_string_literal: true
require 'rails_helper'
require 'spec_helper'
describe 'Admin uses repository checks' do
include StubENV
......
# frozen_string_literal: true
require 'rails_helper'
require 'spec_helper'
describe 'Issue Boards add issue modal', :js do
let(:project) { create(:project, :public) }
......
# frozen_string_literal: true
require 'rails_helper'
require 'spec_helper'
describe 'Issue Boards', :js do
include DragTo
......
# frozen_string_literal: true
require 'rails_helper'
require 'spec_helper'
describe 'Issue Boards', :js do
include DragTo
......
# frozen_string_literal: true
require 'rails_helper'
require 'spec_helper'
describe 'Issue Boards shortcut', :js do
context 'issues are enabled' do
......
# frozen_string_literal: true
require 'rails_helper'
require 'spec_helper'
describe 'Issue Boards add issue modal filtering', :js do
let(:project) { create(:project, :public) }
......
# frozen_string_literal: true
require 'rails_helper'
require 'spec_helper'
describe 'Multiple Issue Boards', :js do
set(:user) { create(:user) }
......
# frozen_string_literal: true
require 'rails_helper'
require 'spec_helper'
describe 'Issue Boards new issue', :js do
let(:project) { create(:project, :public) }
......
# frozen_string_literal: true
require 'rails_helper'
require 'spec_helper'
describe 'Ensure Boards do not show stale data on browser back', :js do
let(:project) {create(:project, :public)}
......
# frozen_string_literal: true
require 'rails_helper'
require 'spec_helper'
describe 'Issue Boards', :js do
include BoardHelpers
......
# frozen_string_literal: true
require 'rails_helper'
require 'spec_helper'
describe 'Sub-group project issue boards', :js do
let(:group) { create(:group) }
......
# frozen_string_literal: true
require 'rails_helper'
require 'spec_helper'
describe 'Commit > User uses quick actions', :js do
include Spec::Support::Helpers::Features::NotesHelpers
......
# frozen_string_literal: true
require 'rails_helper'
require 'spec_helper'
describe 'Dashboard > Todo target states' do
let(:user) { create(:user) }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment