Contents

Synchronize a single updated organisation

@vcr @capsulecrm

In order to keep the member directory up to date As a commercial team member I want my changes in CapsuleCRM to be reflected in the members directory

Background:

  • Given there is an existing organisation in CapsuleCRM called "Omni Consumer Products"
  • And that organisation has a data tag called "Membership"
  • And that data tag has the following fields:
    LevelEmailIDNewsletterSizeSector
    partnerinfo@ocp.comAB1234YZtrue>1000Energy

Scenario: Send updated organization data to observer without directory entry

  • Given an observer object has been registered
  • Then the observer should be notified with the organisation's information
  • When the capsule sync job for that organisation runs

Scenario: Send updated organization data to observer with directory entry

  • Given that organisation has a data tag called "DirectoryEntry"
  • And that data tag has the following fields:
    DescriptionHomepageActiveContactEmailPhoneTwitterLinkedinFacebookTagline
    20 seconds to complyhttp://ocp.comtrueDick Jonesjones@ocp.com+44 1111 222222ocphttp://linkedin.com/company/ocphttp://facebook.com/pages/ocpempowering solutions
  • And an observer object has been registered
  • Then the observer should be notified with the organisation's information
  • When the capsule sync job for that organisation runs

Scenario: Handle long descriptions

  • Given that organisation has a data tag called "DirectoryEntry"
  • And that data tag has the following fields:
    DescriptionDescription-2Description-3Description-4
    you have 10 seconds to comply
  • And an observer object has been registered
  • Then the observer should be notified with the organisation's information
  • When the capsule sync job for that organisation runs

Source: features/sync_capsule_data.feature at commit 470f82f9, Open Orgn Services (MIT license).