Synchronize a single updated organisation
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:
Level Email ID Newsletter Size Sector partner info@ocp.com AB1234YZ true >1000 Energy
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:
Description Homepage Active Contact Email Phone Twitter Linkedin Facebook Tagline 20 seconds to comply http://ocp.com true Dick Jones jones@ocp.com +44 1111 222222 ocp http://linkedin.com/company/ocp http://facebook.com/pages/ocp empowering 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:
Description Description-2 Description-3 Description-4 you have 1 0 second s to com ply - 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).