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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-01-11 18:15:55 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-01-11 18:15:55 +0300
commita8281ac43424e4b820286823bdb48f068b21d7d3 (patch)
treef8064c724e33f22402ecc4bd0a8c23ea01e6eac1 /spec/routing
parent22391da1261240ecc15aa15cbb19b089339902b5 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/routing')
-rw-r--r--spec/routing/routing_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/routing/routing_spec.rb b/spec/routing/routing_spec.rb
index e7ea5b79897..79edfdd2b3f 100644
--- a/spec/routing/routing_spec.rb
+++ b/spec/routing/routing_spec.rb
@@ -364,6 +364,12 @@ RSpec.describe AutocompleteController, 'routing' do
end
end
+RSpec.describe SandboxController, 'routing' do
+ it 'to #mermaid' do
+ expect(get("/-/sandbox/mermaid")).to route_to('sandbox#mermaid')
+ end
+end
+
RSpec.describe Snippets::BlobsController, "routing" do
it "to #raw" do
expect(get('/-/snippets/1/raw/master/lib/version.rb'))