Sha256: 3493dc6ef07a41a5388c195e1857c14514267b9733e8a0586a17325bc89a0b15
Contents?: true
Size: 342 Bytes
Versions: 3
Compression:
Stored size: 342 Bytes
Contents
# -*- encoding : utf-8 -*- describe Card::Set::All::References do it 'should replace references should work on inclusions inside links' do card = Card.create! name: 'ref test', content: '[[test_card|test{{test}}]]' assert_equal '[[test_card|test{{best}}]]', card.replace_reference_syntax('test', 'best') end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
card-1.17.4 | mod/01_core/spec/set/all/references_spec.rb |
card-1.17.3 | mod/01_core/spec/set/all/references_spec.rb |
card-1.17.2 | mod/01_core/spec/set/all/references_spec.rb |