Commit f820fc9f authored by Jan Provaznik's avatar Jan Provaznik

Merge branch '220018-rspec-zero-monkey-patching-mode' into 'master'

RSpec zero monkey patching mode

See merge request gitlab-org/gitlab!33707
parents 4210d5ba 090f4813
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Admin::ApplicationSettingsController do
RSpec.describe Admin::ApplicationSettingsController do
include StubENV
let(:admin) { create(:admin) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Admin::ApplicationsController do
RSpec.describe Admin::ApplicationsController do
let(:admin) { create(:admin) }
let(:application) { create(:oauth_application, owner_id: nil, owner_type: nil) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Admin::AuditLogsController do
RSpec.describe Admin::AuditLogsController do
let(:admin) { create(:admin) }
describe 'GET #index' do
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Admin::ClustersController do
RSpec.describe Admin::ClustersController do
include AccessMatchersForController
let(:user) { create(:admin) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Admin::CredentialsController do
RSpec.describe Admin::CredentialsController do
describe 'GET #index' do
context 'admin user' do
before do
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Admin::DashboardController do
RSpec.describe Admin::DashboardController do
describe '#index' do
render_views
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Admin::ElasticsearchController do
RSpec.describe Admin::ElasticsearchController do
let(:admin) { create(:admin) }
describe 'POST #enqueue_index' do
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Admin::EmailsController, :clean_gitlab_redis_shared_state do
RSpec.describe Admin::EmailsController, :clean_gitlab_redis_shared_state do
include ExclusiveLeaseHelpers
let_it_be(:admin) { create(:admin) }
......
# frozen_string_literal: true
require 'spec_helper'
describe Admin::Geo::NodesController do
RSpec.describe Admin::Geo::NodesController do
shared_examples 'unlicensed geo action' do
it 'redirects to the 403 page' do
expect(response).to have_gitlab_http_status(:forbidden)
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Admin::Geo::ProjectsController, :geo do
RSpec.describe Admin::Geo::ProjectsController, :geo do
include EE::GeoHelpers
let_it_be(:admin) { create(:admin) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Admin::Geo::SettingsController, :geo do
RSpec.describe Admin::Geo::SettingsController, :geo do
include EE::GeoHelpers
include StubENV
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Admin::Geo::UploadsController, :geo do
RSpec.describe Admin::Geo::UploadsController, :geo do
include EE::GeoHelpers
let_it_be(:admin) { create(:admin) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Admin::GroupsController do
RSpec.describe Admin::GroupsController do
let(:admin) { create(:admin) }
let(:group) { create(:group) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Admin::ImpersonationsController do
RSpec.describe Admin::ImpersonationsController do
let(:impersonator) { create(:admin) }
let(:user) { create(:user) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Admin::InstanceReviewController do
RSpec.describe Admin::InstanceReviewController do
include UsageDataHelpers
let(:admin) { create(:admin) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Admin::LicensesController do
RSpec.describe Admin::LicensesController do
let(:admin) { create(:admin) }
before do
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Admin::ProjectsController, :geo do
RSpec.describe Admin::ProjectsController, :geo do
include EE::GeoHelpers
let!(:project_registry) { create(:geo_project_registry) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Admin::PushRulesController do
RSpec.describe Admin::PushRulesController do
include StubENV
let(:admin) { create(:admin) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Admin::UsersController do
RSpec.describe Admin::UsersController do
let(:admin) { create(:admin) }
let(:user) { create(:user) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Analytics::AnalyticsController do
RSpec.describe Analytics::AnalyticsController do
let(:user) { create(:user) }
before do
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Analytics::CycleAnalytics::StagesController do
RSpec.describe Analytics::CycleAnalytics::StagesController do
let_it_be(:user) { create(:user) }
let_it_be(:group, refind: true) { create(:group) }
let(:params) { { group_id: group.full_path } }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Analytics::CycleAnalytics::SummaryController do
RSpec.describe Analytics::CycleAnalytics::SummaryController do
let_it_be(:user) { create(:user) }
let_it_be(:group, refind: true) { create(:group) }
let(:params) { { group_id: group.full_path, created_after: '2010-01-01', created_before: '2010-01-02' } }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Analytics::CycleAnalyticsController do
RSpec.describe Analytics::CycleAnalyticsController do
let(:user) { create(:user) }
before do
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Analytics::TasksByTypeController do
RSpec.describe Analytics::TasksByTypeController do
let(:user) { create(:user) }
let(:group) { create(:group) }
let(:label) { create(:group_label, group: group) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe AutocompleteController do
RSpec.describe AutocompleteController do
let(:project) { create(:project) }
let(:user) { project.owner }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Boards::IssuesController do
RSpec.describe Boards::IssuesController do
include ExternalAuthorizationServiceHelpers
let(:group) { create(:group, :private) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Boards::ListsController do
RSpec.describe Boards::ListsController do
let_it_be(:group) { create(:group, :private) }
let_it_be(:board) { create(:board, group: group) }
let_it_be(:user) { create(:user) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Boards::MilestonesController do
RSpec.describe Boards::MilestonesController do
let(:project) { create(:project, :private) }
let(:board) { create(:board, project: project) }
let(:user) { create(:user) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Boards::UsersController do
RSpec.describe Boards::UsersController do
let(:group) { create(:group, :private) }
let(:board) { create(:board, group: group) }
let(:guest) { create(:user) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe BoardsResponses do
RSpec.describe BoardsResponses do
let(:controller_class) do
Class.new do
include BoardsResponses
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe EE::RoutableActions::SsoEnforcementRedirect do
RSpec.describe EE::RoutableActions::SsoEnforcementRedirect do
let(:saml_provider) { create(:saml_provider, enforced_sso: true) }
let(:root_group) { saml_provider.group }
let(:nested_group) { create(:group, :private, parent: root_group) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe InternalRedirect do
RSpec.describe InternalRedirect do
let(:controller_class) do
Class.new do
include InternalRedirect
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe RoutableActions do
RSpec.describe RoutableActions do
controller(::ApplicationController) do
include RoutableActions
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe CountriesController do
RSpec.describe CountriesController do
describe 'GET #index' do
it 'returns list of countries as json' do
get :index
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe CountryStatesController do
RSpec.describe CountryStatesController do
describe 'GET #index' do
it 'returns a list of states as json' do
country = 'NL'
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Dashboard::ProjectsController do
RSpec.describe Dashboard::ProjectsController do
include ExternalAuthorizationServiceHelpers
let(:user) { create(:user) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe GroupsController do
RSpec.describe GroupsController do
include ExternalAuthorizationServiceHelpers
let_it_be(:user) { create(:user) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Profiles::PreferencesController do
RSpec.describe Profiles::PreferencesController do
let(:user) { create(:user) }
before do
......
# frozen_string_literal: true
require 'spec_helper'
describe Projects::AutocompleteSourcesController do
RSpec.describe Projects::AutocompleteSourcesController do
let_it_be(:user) { create(:user) }
let_it_be(:group) { create(:group) }
let_it_be(:group2) { create(:group) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Projects::BlobController do
RSpec.describe Projects::BlobController do
include ProjectForksHelper
let(:project) { create(:project, :public, :repository) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Projects::JobsController do
RSpec.describe Projects::JobsController do
describe 'GET #show', :clean_gitlab_redis_shared_state do
context 'when requesting JSON' do
let_it_be(:user) { create(:user) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Projects::MergeRequests::ContentController do
RSpec.describe Projects::MergeRequests::ContentController do
let(:project) { create(:project, :repository) }
let(:user) { create(:user) }
let(:merge_request) { create(:merge_request, target_project: project, source_project: project) }
......
# frozen_string_literal: true
require "spec_helper"
describe Projects::ProtectedBranchesController do
RSpec.describe Projects::ProtectedBranchesController do
let(:project) { create(:project, :repository) }
let(:protected_branch) { create(:protected_branch, project: project) }
let(:project_params) { { namespace_id: project.namespace.to_param, project_id: project } }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe RootController do
RSpec.describe RootController do
include ::EE::GeoHelpers
describe 'GET #index' do
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe SentNotificationsController do
RSpec.describe SentNotificationsController do
let(:user) { create(:user) }
context 'Unsubscribing from an epic' do
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe SessionsController, :geo do
RSpec.describe SessionsController, :geo do
include DeviseHelpers
include EE::GeoHelpers
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Explore::OnboardingController do
RSpec.describe Explore::OnboardingController do
let(:user) { create(:user, username: 'gitlab-org') }
before do
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::Analytics::CycleAnalytics::StagesController do
RSpec.describe Groups::Analytics::CycleAnalytics::StagesController do
let_it_be(:user) { create(:user) }
let_it_be(:group, refind: true) { create(:group) }
let(:params) { { group_id: group } }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::Analytics::CycleAnalyticsController do
RSpec.describe Groups::Analytics::CycleAnalyticsController do
let(:group) { create(:group) }
let(:user) { create(:user) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::Analytics::ProductivityAnalyticsController do
RSpec.describe Groups::Analytics::ProductivityAnalyticsController do
let_it_be(:current_user) { create(:user) }
let_it_be(:group) { create :group }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Analytics::TasksByTypeController do
RSpec.describe Analytics::TasksByTypeController do
let_it_be(:user) { create(:user) }
let(:group) { create(:group) }
let(:label) { create(:group_label, group: group) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::AuditEventsController do
RSpec.describe Groups::AuditEventsController do
let(:user) { create(:user) }
let(:owner) { create(:user) }
let(:group) { create(:group, :private) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::AutocompleteSourcesController do
RSpec.describe Groups::AutocompleteSourcesController do
let(:user) { create(:user) }
let(:group) { create(:group, :private) }
let!(:epic) { create(:epic, group: group) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::BillingsController do
RSpec.describe Groups::BillingsController do
let(:user) { create(:user) }
let(:group) { create(:group, :private) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::BoardsController do
RSpec.describe Groups::BoardsController do
let(:group) { create(:group) }
let(:user) { create(:user) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::ClustersController do
RSpec.describe Groups::ClustersController do
include AccessMatchersForController
let_it_be(:group) { create(:group) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::ContributionAnalyticsController do
RSpec.describe Groups::ContributionAnalyticsController do
let(:user) { create(:user) }
let(:user2) { create(:user) }
let(:user3) { create(:user) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::DependencyProxiesController do
RSpec.describe Groups::DependencyProxiesController do
let(:group) { create(:group) }
let(:user) { create(:user) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::DependencyProxyForContainersController do
RSpec.describe Groups::DependencyProxyForContainersController do
let(:group) { create(:group) }
let(:token_response) { { status: :success, token: 'abcd1234' } }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::EpicIssuesController do
RSpec.describe Groups::EpicIssuesController do
let(:group) { create(:group, :public) }
let(:project) { create(:project, group: group) }
let(:milestone) { create(:milestone, project: project) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::EpicLinksController do
RSpec.describe Groups::EpicLinksController do
let(:group) { create(:group, :public) }
let(:parent_epic) { create(:epic, group: group) }
let(:epic1) { create(:epic, group: group) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::Epics::NotesController do
RSpec.describe Groups::Epics::NotesController do
let(:user) { create(:user) }
let(:group) { create(:group) }
let(:epic) { create(:epic, group: group) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::EpicsController do
RSpec.describe Groups::EpicsController do
let(:group) { create(:group, :private) }
let(:epic) { create(:epic, group: group) }
let(:user) { create(:user) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::GroupMembersController do
RSpec.describe Groups::GroupMembersController do
include ExternalAuthorizationServiceHelpers
let(:user) { create(:user) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe GroupsController do
RSpec.describe GroupsController do
include ExternalAuthorizationServiceHelpers
let(:user) { create(:user) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::HooksController do
RSpec.describe Groups::HooksController do
let(:user) { create(:user) }
let(:group) { create(:group) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::InsightsController do
RSpec.describe Groups::InsightsController do
let_it_be(:parent_group) { create(:group, :private) }
let_it_be(:nested_group) { create(:group, :private, parent: parent_group) }
let_it_be(:project) { create(:project, :private) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::IssuesAnalyticsController do
RSpec.describe Groups::IssuesAnalyticsController do
it_behaves_like 'issues analytics controller' do
let_it_be(:user) { create(:user) }
let_it_be(:group) { create(:group) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::IssuesController do
RSpec.describe Groups::IssuesController do
let(:user) { create(:user) }
let(:group) { create(:group, :public) }
let(:project) { create(:project_empty_repo, :public, namespace: group) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::LdapSettingsController do
RSpec.describe Groups::LdapSettingsController do
include LdapHelpers
let(:group) { create(:group) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::LdapsController do
RSpec.describe Groups::LdapsController do
include LdapHelpers
let(:group) { create(:group) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::MergeRequestsController do
RSpec.describe Groups::MergeRequestsController do
let(:user) { create(:user) }
let(:group) { create(:group, :public) }
let(:project) { create(:project, :repository, group: group) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::OmniauthCallbacksController do
RSpec.describe Groups::OmniauthCallbacksController do
include LoginHelpers
include ForgeryProtection
......
# frozen_string_literal: true
require 'spec_helper'
describe Groups::PushRulesController do
RSpec.describe Groups::PushRulesController do
let_it_be(:group) { create(:group, :private) }
let_it_be(:user) { create(:user) }
......
# frozen_string_literal: true
require 'spec_helper'
describe Groups::RoadmapController do
RSpec.describe Groups::RoadmapController do
let(:group) { create(:group, :private) }
let(:epic) { create(:epic, group: group) }
let(:user) { create(:user) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::SamlProvidersController do
RSpec.describe Groups::SamlProvidersController do
let(:saml_provider) { create(:saml_provider, group: group) }
let(:group) { create(:group, :private, parent_id: nil) }
let(:user) { create(:user) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::ScimOauthController do
RSpec.describe Groups::ScimOauthController do
let(:saml_provider) { create(:saml_provider, group: group) }
let(:group) { create(:group, :private, parent_id: nil) }
let(:user) { create(:user) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::Security::ComplianceDashboardsController do
RSpec.describe Groups::Security::ComplianceDashboardsController do
let(:user) { create(:user) }
let(:group) { create(:group) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::Security::CredentialsController do
RSpec.describe Groups::Security::CredentialsController do
let_it_be(:group_with_managed_accounts) { create(:group_with_managed_accounts, :private) }
let_it_be(:managed_users) { create_list(:user, 2, :group_managed, managing_group: group_with_managed_accounts) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::Security::DashboardController do
RSpec.describe Groups::Security::DashboardController do
let(:user) { create(:user) }
let(:group) { create(:group) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::Security::VulnerabilityFindingsController do
RSpec.describe Groups::Security::VulnerabilityFindingsController do
let(:group) { create(:group) }
let(:sub_group) { create(:group, parent: group) }
let(:params) { { group_id: group } }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::Security::VulnerableProjectsController do
RSpec.describe Groups::Security::VulnerableProjectsController do
let(:group) { create(:group) }
let(:user) { create(:user) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::SsoController do
RSpec.describe Groups::SsoController do
let(:user) { create(:user) }
let(:group) { create(:group, :private, name: 'our-group', saml_discovery_token: 'test-token') }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Groups::TodosController do
RSpec.describe Groups::TodosController do
let(:user) { create(:user) }
let(:group) { create(:group, :private) }
let(:epic) { create(:epic, group: group) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe JiraConnect::AppDescriptorController do
RSpec.describe JiraConnect::AppDescriptorController do
describe '#show' do
it 'returns JSON app descriptor' do
get :show
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe JiraConnect::EventsController do
RSpec.describe JiraConnect::EventsController do
describe '#installed' do
subject do
post :installed, params: {
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe JiraConnect::SubscriptionsController do
RSpec.describe JiraConnect::SubscriptionsController do
let_it_be(:installation) { create(:jira_connect_installation) }
describe '#index' do
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Ldap::OmniauthCallbacksController do
RSpec.describe Ldap::OmniauthCallbacksController do
include_context 'Ldap::OmniauthCallbacksController'
it "displays LDAP sync flash on first sign in" do
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Oauth::ApplicationsController do
RSpec.describe Oauth::ApplicationsController do
let(:user) { create(:user) }
context 'project members' do
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Oauth::GeoAuthController, :geo do
RSpec.describe Oauth::GeoAuthController, :geo do
include EE::GeoHelpers
# The Geo OAuth workflow depends on the OAuth application and the URL
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Oauth::Jira::AuthorizationsController do
RSpec.describe Oauth::Jira::AuthorizationsController do
describe 'GET new' do
it 'redirects to OAuth authorization with correct params' do
get :new, params: { client_id: 'client-123', redirect_uri: 'http://example.com/' }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe OperationsController do
RSpec.describe OperationsController do
include Rails.application.routes.url_helpers
let(:user) { create(:user) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Profiles::BillingsController do
RSpec.describe Profiles::BillingsController do
let(:user) { create(:user) }
describe 'GET #index' do
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Profiles::KeysController do
RSpec.describe Profiles::KeysController do
let(:user) { create(:user) }
describe '#create' do
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Profiles::SlacksController do
RSpec.describe Profiles::SlacksController do
let(:user) { create(:user) }
before do
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Profiles::UsageQuotasController do
RSpec.describe Profiles::UsageQuotasController do
let_it_be(:user) { create(:user) }
before do
......
......@@ -2,7 +2,7 @@
require('spec_helper')
describe ProfilesController, :request_store do
RSpec.describe ProfilesController, :request_store do
let_it_be(:user) { create(:user) }
let_it_be(:admin) { create(:admin) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Projects::Analytics::IssuesAnalyticsController do
RSpec.describe Projects::Analytics::IssuesAnalyticsController do
it_behaves_like 'issues analytics controller' do
let_it_be(:user) { create(:user) }
let_it_be(:group) { create(:group) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Projects::ApproverGroupsController do
RSpec.describe Projects::ApproverGroupsController do
describe '#destroy' do
let(:user) { create(:user) }
let(:project) { create(:project) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
describe Projects::ApproversController do
RSpec.describe Projects::ApproversController do
describe '#destroy' do
let(:user) { create(:user) }
let(:project) { create(:project) }
......
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