Commit a5132544 authored by Stan Hu's avatar Stan Hu

Merge branch...

Merge branch '199885-banzai-referenceparser-designparser-process-returns-the-correct-designs-failes-job-failed' into 'master'

Resolve "Banzai::ReferenceParser::DesignParser#process returns the correct designs failes - Job Failed #421171988"

Closes #199885

See merge request gitlab-org/gitlab!24117
parents 0bc29bb5 e01089f7
...@@ -65,7 +65,7 @@ describe Banzai::ReferenceParser::DesignParser do ...@@ -65,7 +65,7 @@ describe Banzai::ReferenceParser::DesignParser do
it 'returns the correct designs' do it 'returns the correct designs' do
frag = document([design, create(:design, :with_versions)]) frag = document([design, create(:design, :with_versions)])
expect(subject.process([frag])).to contain_exactly(design) expect(subject.process([frag])[:visible]).to contain_exactly(design)
end end
end end
......
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