Welcome to mirror list, hosted at ThFree Co, Russian Federation.

settings_controller_routing_spec.rb « organizations « routing « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 99d482f3d479df3c51d5ad62e7f1f29ef3e30bef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Organizations::SettingsController, :routing, feature_category: :cell do
  let_it_be(:organization) { build(:organization) }

  it 'routes to settings#general' do
    expect(get("/-/organizations/#{organization.path}/settings/general"))
      .to route_to('organizations/settings#general', organization_path: organization.path)
  end
end