spec/wikilink/converter/namespace_spec.rb in wikilink-converter-0.2.1 vs spec/wikilink/converter/namespace_spec.rb in wikilink-converter-0.2.2

- old
+ new

@@ -59,9 +59,12 @@ describe '#run' do subject { converter.method(:run) } it { should convert(run_options). to('<a href="Home">Name</a>') } + it { should convert(path: 'foo/bar', name: 'Header 1'). + to('<a href="foo/bar">Header 1</a>') + } it_behaves_like 'converter that keeps query fragment only path untouched' end context 'given option :prefix "/wiki/"' do let(:converter) { self.class.describes.new prefix: '/wiki/' }