Commit 032edfa7 authored by Ash McKenzie's avatar Ash McKenzie

Replace rails_helper.rb with spec_helper.rb

rails_helper.rb's only logic was to require
spec_helper.rb.
parent 7ef1af2f
...@@ -264,8 +264,6 @@ RSpec/EnvAssignment: ...@@ -264,8 +264,6 @@ RSpec/EnvAssignment:
Exclude: Exclude:
- 'spec/**/fast_spec_helper.rb' - 'spec/**/fast_spec_helper.rb'
- 'ee/spec/**/fast_spec_helper.rb' - 'ee/spec/**/fast_spec_helper.rb'
- 'spec/**/rails_helper.rb'
- 'ee/spec/**/rails_helper.rb'
- 'spec/**/spec_helper.rb' - 'spec/**/spec_helper.rb'
- 'ee/spec/**/spec_helper.rb' - 'ee/spec/**/spec_helper.rb'
RSpec/BeSuccessMatcher: RSpec/BeSuccessMatcher:
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
require 'bundler/setup' require 'bundler/setup'
require 'stackprof' require 'stackprof'
$:.unshift 'spec' $:.unshift 'spec'
require 'rails_helper' require 'spec_helper'
filename = ARGV[0].split('/').last filename = ARGV[0].split('/').last
interval = ENV.fetch('INTERVAL', 1000).to_i interval = ENV.fetch('INTERVAL', 1000).to_i
......
...@@ -18,7 +18,7 @@ end ...@@ -18,7 +18,7 @@ end
Consider the following API spec: Consider the following API spec:
```ruby ```ruby
require 'rails_helper' require 'spec_helper'
describe API::Labels do describe API::Labels do
it 'creates a first label' do it 'creates a first label' do
...@@ -69,7 +69,7 @@ is ok, but `create(:label, title: 'label1')` is not. ...@@ -69,7 +69,7 @@ is ok, but `create(:label, title: 'label1')` is not.
Following is the fixed API spec: Following is the fixed API spec:
```ruby ```ruby
require 'rails_helper' require 'spec_helper'
describe API::Labels do describe API::Labels do
it 'creates a first label' do it 'creates a first label' do
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe SentNotificationsController do describe SentNotificationsController do
let(:user) { create(:user) } let(:user) { create(:user) }
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe Projects::ApproverGroupsController do describe Projects::ApproverGroupsController do
describe '#destroy' do describe '#destroy' do
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe Projects::ApproversController do describe Projects::ApproversController do
describe '#destroy' do describe '#destroy' do
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe Projects::PathLocksController do describe Projects::PathLocksController do
let(:project) { create(:project, :repository, :public) } let(:project) { create(:project, :repository, :public) }
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'Issue Boards add issue modal', :js do describe 'Issue Boards add issue modal', :js do
let(:project) { create(:project, :public) } let(:project) { create(:project, :public) }
......
require 'rails_helper' require 'spec_helper'
describe 'Issue Boards focus mode', :js do describe 'Issue Boards focus mode', :js do
let(:project) { create(:project, :public) } let(:project) { create(:project, :public) }
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'Multiple Issue Boards', :js do describe 'Multiple Issue Boards', :js do
set(:user) { create(:user) } set(:user) { create(:user) }
......
require 'rails_helper' require 'spec_helper'
describe 'Scoped issue boards', :js do describe 'Scoped issue boards', :js do
include FilteredSearchHelpers include FilteredSearchHelpers
......
require 'rails_helper' require 'spec_helper'
describe 'Issue Boards', :js do describe 'Issue Boards', :js do
include BoardHelpers include BoardHelpers
......
require 'rails_helper' require 'spec_helper'
describe 'GFM autocomplete', :js do describe 'GFM autocomplete', :js do
let(:user) { create(:user, name: '💃speciąl someone💃', username: 'someone.special') } let(:user) { create(:user, name: '💃speciąl someone💃', username: 'someone.special') }
......
require 'rails_helper' require 'spec_helper'
describe 'Manually create a todo item from epic', :js do describe 'Manually create a todo item from epic', :js do
let(:group) { create(:group) } let(:group) { create(:group) }
......
require "rails_helper" require 'spec_helper'
describe "User tests hooks", :js do describe "User tests hooks", :js do
include StubRequests include StubRequests
......
require 'rails_helper' require 'spec_helper'
describe 'Related issues', :js do describe 'Related issues', :js do
let(:user) { create(:user) } let(:user) { create(:user) }
......
require 'rails_helper' require 'spec_helper'
describe 'Dropdown weight', :js do describe 'Dropdown weight', :js do
include FilteredSearchHelpers include FilteredSearchHelpers
......
require 'rails_helper' require 'spec_helper'
describe 'Filter issues weight', :js do describe 'Filter issues weight', :js do
include FilteredSearchHelpers include FilteredSearchHelpers
......
require 'rails_helper' require 'spec_helper'
describe 'New/edit issue', :js do describe 'New/edit issue', :js do
include GitlabRoutingHelper include GitlabRoutingHelper
......
require 'rails_helper' require 'spec_helper'
describe 'Issue Sidebar' do describe 'Issue Sidebar' do
include MobileHelpers include MobileHelpers
......
require 'rails_helper' require 'spec_helper'
describe 'Merge request > Batch comments', :js do describe 'Merge request > Batch comments', :js do
include MergeRequestDiffHelpers include MergeRequestDiffHelpers
......
require 'rails_helper' require 'spec_helper'
# TODO: https://gitlab.com/gitlab-org/gitlab-ee/issues/9430 # TODO: https://gitlab.com/gitlab-org/gitlab-ee/issues/9430
xdescribe 'Merge request > User approves', :js do xdescribe 'Merge request > User approves', :js do
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'Merge request > User approves with password', :js do describe 'Merge request > User approves with password', :js do
let(:user) { create(:user) } let(:user) { create(:user) }
......
require 'rails_helper' require 'spec_helper'
describe 'Merge request > image review', :js do describe 'Merge request > image review', :js do
include MergeRequestDiffHelpers include MergeRequestDiffHelpers
......
require 'rails_helper' require 'spec_helper'
describe 'Merge request > User sees approval widget', :js do describe 'Merge request > User sees approval widget', :js do
let(:project) { create(:project, :public, :repository) } let(:project) { create(:project, :public, :repository) }
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'Merge request > User sees deployment widget', :js do describe 'Merge request > User sees deployment widget', :js do
describe 'when merge request has associated environments' do describe 'when merge request has associated environments' do
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'Merge request > User sees merge widget', :js do describe 'Merge request > User sees merge widget', :js do
include ProjectForksHelper include ProjectForksHelper
......
require 'rails_helper' require 'spec_helper'
describe 'Merge request > User selects branches for new MR', :js do describe 'Merge request > User selects branches for new MR', :js do
let(:project) { create(:project, :public, :repository) } let(:project) { create(:project, :public, :repository) }
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'Merge request > User sets approval rules', :js do describe 'Merge request > User sets approval rules', :js do
include ProjectForksHelper include ProjectForksHelper
......
require 'rails_helper' require 'spec_helper'
describe 'Merge request > User sets approvers', :js do describe 'Merge request > User sets approvers', :js do
include ProjectForksHelper include ProjectForksHelper
......
require 'rails_helper' require 'spec_helper'
describe 'Merge request > User uses quick actions', :js do describe 'Merge request > User uses quick actions', :js do
include Spec::Support::Helpers::Features::NotesHelpers include Spec::Support::Helpers::Features::NotesHelpers
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'Merge Requests > User filters by approvers', :js do describe 'Merge Requests > User filters by approvers', :js do
include FilteredSearchHelpers include FilteredSearchHelpers
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'Two merge requests on a merge train' do describe 'Two merge requests on a merge train' do
include RepoHelpers include RepoHelpers
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'User adds a merge request to a merge train', :js do describe 'User adds a merge request to a merge train', :js do
let(:project) { create(:project, :repository) } let(:project) { create(:project, :repository) }
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'User adds to merge train when pipeline succeeds', :js do describe 'User adds to merge train when pipeline succeeds', :js do
let(:project) { create(:project, :repository) } let(:project) { create(:project, :repository) }
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'Profile > Account' do describe 'Profile > Account' do
let(:user) { create(:user) } let(:user) { create(:user) }
......
require 'rails_helper' require 'spec_helper'
describe 'Geo clone instructions', :geo, :js do describe 'Geo clone instructions', :geo, :js do
include Devise::Test::IntegrationHelpers include Devise::Test::IntegrationHelpers
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'Kerberos clone instructions', :js do describe 'Kerberos clone instructions', :js do
include MobileHelpers include MobileHelpers
......
require 'rails_helper' require 'spec_helper'
describe 'Projects > Settings > Packages', :js do describe 'Projects > Settings > Packages', :js do
let(:project) { create(:project) } let(:project) { create(:project) }
......
require 'rails_helper' require 'spec_helper'
describe 'Projects > Show > Developer views empty project instructions' do describe 'Projects > Show > Developer views empty project instructions' do
let(:project) { create(:project, :empty_repo) } let(:project) { create(:project, :empty_repo) }
......
require 'rails_helper' require 'spec_helper'
describe 'Geo read-only message', :geo do describe 'Geo read-only message', :geo do
include ::EE::GeoHelpers include ::EE::GeoHelpers
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe Gitlab::Prometheus::MetricGroup do describe Gitlab::Prometheus::MetricGroup do
describe '.for_project' do describe '.for_project' do
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
RSpec.describe Gitlab::Favicon, :request_store do RSpec.describe Gitlab::Favicon, :request_store do
describe '.main' do describe '.main' do
......
require 'rails_helper' require 'spec_helper'
describe Gitlab::SidekiqConfig do describe Gitlab::SidekiqConfig do
describe '.workers' do describe '.workers' do
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
RSpec.describe AuditEvent, type: :model do RSpec.describe AuditEvent, type: :model do
describe 'relationships' do describe 'relationships' do
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe EE::DeploymentPlatform do describe EE::DeploymentPlatform do
describe '#deployment_platform' do describe '#deployment_platform' do
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe EE::Noteable do describe EE::Noteable do
subject(:klazz) { Class.new { include Noteable } } subject(:klazz) { Class.new { include Noteable } }
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
RSpec.describe DependencyProxy::Blob, type: :model do RSpec.describe DependencyProxy::Blob, type: :model do
describe 'relationships' do describe 'relationships' do
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
RSpec.describe DependencyProxy::GroupSetting, type: :model do RSpec.describe DependencyProxy::GroupSetting, type: :model do
describe 'relationships' do describe 'relationships' do
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
RSpec.describe DependencyProxy::Registry, type: :model do RSpec.describe DependencyProxy::Registry, type: :model do
let(:tag) { '2.3.5-alpine' } let(:tag) { '2.3.5-alpine' }
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe DesignManagement::Design do describe DesignManagement::Design do
include DesignManagementTestHelpers include DesignManagementTestHelpers
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe DesignManagement::DesignVersion do describe DesignManagement::DesignVersion do
describe 'relations' do describe 'relations' do
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe DesignManagement::Repository do describe DesignManagement::Repository do
let(:project) { create(:project) } let(:project) { create(:project) }
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe DesignManagement::Version do describe DesignManagement::Version do
describe 'relations' do describe 'relations' do
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe Clusters::Applications::Prometheus do describe Clusters::Applications::Prometheus do
describe 'transition to updating' do describe 'transition to updating' do
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe List do describe List do
let(:board) { create(:board) } let(:board) { create(:board) }
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
RSpec.describe ResourceLabelEvent, type: :model do RSpec.describe ResourceLabelEvent, type: :model do
subject { build(:resource_label_event) } subject { build(:resource_label_event) }
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe Member, type: :model do describe Member, type: :model do
describe '#notification_service' do describe '#notification_service' do
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
RSpec.describe Packages::MavenMetadatum, type: :model do RSpec.describe Packages::MavenMetadatum, type: :model do
describe 'relationships' do describe 'relationships' do
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
RSpec.describe Packages::PackageFile, type: :model do RSpec.describe Packages::PackageFile, type: :model do
describe 'relationships' do describe 'relationships' do
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
RSpec.describe Packages::Package, type: :model do RSpec.describe Packages::Package, type: :model do
describe 'relationships' do describe 'relationships' do
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe ProjectFeatureUsage, type: :model do describe ProjectFeatureUsage, type: :model do
describe '.jira_dvcs_integrations_enabled_count' do describe '.jira_dvcs_integrations_enabled_count' do
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe ProjectImportState, type: :model do describe ProjectImportState, type: :model do
describe 'Project import job' do describe 'Project import job' do
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe ProjectRepositoryState do describe ProjectRepositoryState do
using RSpec::Parameterized::TableSyntax using RSpec::Parameterized::TableSyntax
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe ScopedLabelSet do describe ScopedLabelSet do
set(:kv_label1) { create(:label, title: 'key::label1') } set(:kv_label1) { create(:label, title: 'key::label1') }
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe Groups::RoadmapController do describe Groups::RoadmapController do
let(:user) { create(:user) } let(:user) { create(:user) }
......
require 'rails_helper' require 'spec_helper'
describe 'Jira referenced paths', type: :request do describe 'Jira referenced paths', type: :request do
using RSpec::Parameterized::TableSyntax using RSpec::Parameterized::TableSyntax
......
require 'rails_helper' require 'spec_helper'
describe Projects::IssueLinksController do describe Projects::IssueLinksController do
let(:user) { create :user } let(:user) { create :user }
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe ::EE::NullNotificationService do describe ::EE::NullNotificationService do
it 'responds to methods implemented by NotificationService' do it 'responds to methods implemented by NotificationService' do
......
require 'rails_helper' require 'spec_helper'
describe MergeRequests::ApprovalService do describe MergeRequests::ApprovalService do
describe '#execute' do describe '#execute' do
......
require 'rails_helper' require 'spec_helper'
describe MergeRequests::RemoveApprovalService do describe MergeRequests::RemoveApprovalService do
describe '#execute' do describe '#execute' do
......
require 'rails_helper' require 'spec_helper'
describe 'admin/users/index' do describe 'admin/users/index' do
let(:should_check_namespace_plan) { false } let(:should_check_namespace_plan) { false }
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
RSpec.describe Geo::Batch::ProjectRegistrySchedulerWorker do RSpec.describe Geo::Batch::ProjectRegistrySchedulerWorker do
include ExclusiveLeaseHelpers include ExclusiveLeaseHelpers
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
RSpec.describe Geo::Batch::ProjectRegistryWorker do RSpec.describe Geo::Batch::ProjectRegistryWorker do
include ::EE::GeoHelpers include ::EE::GeoHelpers
......
require 'rails_helper' require 'spec_helper'
RSpec.describe Geo::MetricsUpdateWorker, :geo do RSpec.describe Geo::MetricsUpdateWorker, :geo do
include ::EE::GeoHelpers include ::EE::GeoHelpers
......
require 'rails_helper' require 'spec_helper'
RSpec.describe Geo::ProjectSyncWorker do RSpec.describe Geo::ProjectSyncWorker do
describe '#perform' do describe '#perform' do
......
require 'rails_helper' require 'spec_helper'
describe RepositoryUpdateMirrorWorker do describe RepositoryUpdateMirrorWorker do
describe '#perform' do describe '#perform' do
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe Projects::BlobController do describe Projects::BlobController do
include ProjectForksHelper include ProjectForksHelper
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe SentNotificationsController do describe SentNotificationsController do
let(:user) { create(:user) } let(:user) { create(:user) }
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'Admin disables Git access protocol', :js do describe 'Admin disables Git access protocol', :js do
include StubENV include StubENV
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'Admin disables 2FA for a user' do describe 'Admin disables 2FA for a user' do
it 'successfully', :js do it 'successfully', :js do
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'Admin uses repository checks' do describe 'Admin uses repository checks' do
include StubENV include StubENV
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'Issue Boards add issue modal', :js do describe 'Issue Boards add issue modal', :js do
let(:project) { create(:project, :public) } let(:project) { create(:project, :public) }
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'Issue Boards', :js do describe 'Issue Boards', :js do
include DragTo include DragTo
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'Issue Boards', :js do describe 'Issue Boards', :js do
include DragTo include DragTo
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'Issue Boards shortcut', :js do describe 'Issue Boards shortcut', :js do
context 'issues are enabled' do context 'issues are enabled' do
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'Issue Boards add issue modal filtering', :js do describe 'Issue Boards add issue modal filtering', :js do
let(:project) { create(:project, :public) } let(:project) { create(:project, :public) }
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'Multiple Issue Boards', :js do describe 'Multiple Issue Boards', :js do
set(:user) { create(:user) } set(:user) { create(:user) }
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'Issue Boards new issue', :js do describe 'Issue Boards new issue', :js do
let(:project) { create(:project, :public) } let(:project) { create(:project, :public) }
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'Ensure Boards do not show stale data on browser back', :js do describe 'Ensure Boards do not show stale data on browser back', :js do
let(:project) {create(:project, :public)} let(:project) {create(:project, :public)}
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'Issue Boards', :js do describe 'Issue Boards', :js do
include BoardHelpers include BoardHelpers
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'Sub-group project issue boards', :js do describe 'Sub-group project issue boards', :js do
let(:group) { create(:group) } let(:group) { create(:group) }
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'Commit > User uses quick actions', :js do describe 'Commit > User uses quick actions', :js do
include Spec::Support::Helpers::Features::NotesHelpers include Spec::Support::Helpers::Features::NotesHelpers
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'Dashboard > Todo target states' do describe 'Dashboard > Todo target states' do
let(:user) { create(:user) } let(:user) { create(:user) }
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'Group Issue Boards', :js do describe 'Group Issue Boards', :js do
include BoardHelpers include BoardHelpers
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'Group Boards' do describe 'Group Boards' do
let(:group) { create(:group) } let(:group) { create(:group) }
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'Group milestones' do describe 'Group milestones' do
let(:group) { create(:group) } let(:group) { create(:group) }
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'User browse group projects page' do describe 'User browse group projects page' do
let(:user) { create :user } let(:user) { create :user }
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'Cohorts page' do describe 'Cohorts page' do
before do before do
......
# frozen_string_literal: true # frozen_string_literal: true
require 'rails_helper' require 'spec_helper'
describe 'Cohorts page', :js do describe 'Cohorts page', :js do
before do before do
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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