Sha256: 7b20f1be56290f4319e5742bac0a1c745d6336bad93245317f3542dff1097add

Contents?: true

Size: 321 Bytes

Versions: 4

Compression:

Stored size: 321 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=>"test", :content=>"[[test_card|test{{test}}]]"  )
    assert_equal "[[test_card|test{{best}}]]", card.replace_references("test", "best" )
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wagn-1.13.0 spec/mod/core/set/all/references_spec.rb
wagn-1.13.0.pre2 spec/mods/core/sets/all/references_spec.rb
wagn-1.13.0.pre1 spec/mods/core/sets/all/references_spec.rb
wagn-1.13.0.pre spec/mods/core/sets/all/references_spec.rb