summaryrefslogtreecommitdiff
path: root/spec/requests/sandbox_controller_spec.rb
blob: 26a7422680ce0532f02f0c8c77aaacab4c1623ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe SandboxController, feature_category: :shared do
  describe 'GET #mermaid' do
    it 'renders page without template' do
      get sandbox_mermaid_path

      expect(response).to have_gitlab_http_status(:ok)
      expect(response).to render_template(layout: nil)
    end
  end
end