Sha256: 914eff669fc73461f5f3ba4273d31ff4b9fa01cdc1c24f9e34a44cdac9fdd01e

Contents?: true

Size: 325 Bytes

Versions: 30

Compression:

Stored size: 325 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_references("test", "best" )
  end
end

Version data entries

30 entries across 30 versions & 2 rubygems

Version Path
card-1.16.6 mod/01_core/spec/set/all/references_spec.rb
card-1.16.5 mod/01_core/spec/set/all/references_spec.rb
card-1.16.4 mod/01_core/spec/set/all/references_spec.rb
card-1.16.3 mod/01_core/spec/set/all/references_spec.rb
card-1.16.2 mod/01_core/spec/set/all/references_spec.rb
card-1.16.1 mod/01_core/spec/set/all/references_spec.rb
card-1.16.0 mod/01_core/spec/set/all/references_spec.rb
card-1.15.7 mod/01_core/spec/set/all/references_spec.rb
card-1.15.6 mod/01_core/spec/set/all/references_spec.rb
card-1.15.5 mod/01_core/spec/set/all/references_spec.rb
card-1.15.4 mod/01_core/spec/set/all/references_spec.rb
card-1.15.3 mod/01_core/spec/set/all/references_spec.rb
card-1.15.2 mod/01_core/spec/set/all/references_spec.rb
card-1.15.1 mod/01_core/spec/set/all/references_spec.rb
card-1.15.0 mod/01_core/spec/set/all/references_spec.rb
card-1.15.pre2 mod/01_core/spec/set/all/references_spec.rb
card-1.15.pre mod/01_core/spec/set/all/references_spec.rb
wagn-1.14.9 mod/01_core/spec/set/all/references_spec.rb
wagn-1.14.8 mod/01_core/spec/set/all/references_spec.rb
wagn-1.14.7 mod/01_core/spec/set/all/references_spec.rb