Unit Test "Application Method "SMWCindyKate::Wikitext.add_FIELD_to_TEMPLATE_NAME" for for template call having one existing fields"

From SMW CindyKate - Main
UnitTest1704261519
Jump to: navigation, search

Content

{{{HowDoesTheMethodAct}}}


TestsMethod Application Method "SMWCindyKate::Wikitext.add_FIELD_to_TEMPLATE_NAME" DescribesScenario for template call having one existing fields TestsMethodCall add_FIELD_to_TEMPLATE_CALL('Name=Value', 'Component', :all_template_calls, :replace_existing_field=false) HasStatus MISSING STATUS

HowDoesTheMethodAct MISSING

MPHasPoolPagesFromTestCategory


RWHasWikitextFromTestPage RWExpectsWikitextLikeInTestPage

RVHasWikitextFromTestPage RVExpectsValue RVExpectsException


Before

{{Component
     |Root context ID=CUS0{{me}}
}}
Freetext0
{{ComponentType 100004}}

Command

 add_FIELD_to_TEMPLATE_CALL('Name=Value', 'Component', :all_template_calls, :replace_existing_field=false)

After

{{Component
  |Root context ID=CUS0{{me}}
  |Name=Value
}}
Freetext0
{{ComponentType 100004}}