Commit e01089f7 authored by Alex Kalderimis's avatar Alex Kalderimis

Support new process interface

parent ef3ec224
......@@ -65,7 +65,7 @@ describe Banzai::ReferenceParser::DesignParser do
it 'returns the correct designs' do
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
......
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