Commit 51293865 authored by Sean McGivern's avatar Sean McGivern

Fix Kroki formats spec

We merged two changes almost simultaneously: one added this spec to
check the supported Kroki formats, and one bumped the gem to fix a typo
in a format name (wavedrow -> wavedrom). This broke the new tests.
parent 83b0a4b7
...@@ -6,7 +6,7 @@ RSpec.describe Gitlab::Kroki do ...@@ -6,7 +6,7 @@ RSpec.describe Gitlab::Kroki do
describe '.formats' do describe '.formats' do
def default_formats def default_formats
%w[bytefield c4plantuml ditaa erd graphviz nomnoml plantuml svgbob umlet vega vegalite wavedrow].freeze %w[bytefield c4plantuml ditaa erd graphviz nomnoml plantuml svgbob umlet vega vegalite wavedrom].freeze
end end
subject { described_class.formats(Gitlab::CurrentSettings) } subject { described_class.formats(Gitlab::CurrentSettings) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment