debian-mirror-gitlab/spec/requests/sandbox_controller_spec.rb

15 lines
348 B
Ruby
Raw Normal View History

2022-03-02 08:16:31 +05:30
# frozen_string_literal: true
require 'spec_helper'
2023-05-27 22:25:52 +05:30
RSpec.describe SandboxController, feature_category: :shared do
2022-03-02 08:16:31 +05:30
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