diff options
Diffstat (limited to 'spec/requests/sandbox_controller_spec.rb')
-rw-r--r-- | spec/requests/sandbox_controller_spec.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/spec/requests/sandbox_controller_spec.rb b/spec/requests/sandbox_controller_spec.rb new file mode 100644 index 00000000000..4fc26580123 --- /dev/null +++ b/spec/requests/sandbox_controller_spec.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +require 'spec_helper' + +RSpec.describe SandboxController 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 |