Sha256: 0bac60fa3a1142912ea3ca3871c19694172b7cadbcf8aa2f3f232e155ad4cd4f
Contents?: true
Size: 756 Bytes
Versions: 47
Compression:
Stored size: 756 Bytes
Contents
# encoding: UTF-8 Feature: Add a user to a watcher In order to alert a user of a modified attribute value or metadata of an ActiveRecord object As a user I want add myself to the list of users for that attribute that will be notified when that value or metadata will be changed by someone Background: Given an ActiveRecord object instance of 'Document' And an ActiveRecord object instance of 'User' Scenario: creates a watcher for an attribute and add a user to its collection Given a User "fg@fractalgarden.com" When adding the user to the watcherslist of an attribute "name" Then it should be created a new watcher for that field And added a user to the list of the watcher
Version data entries
47 entries across 47 versions & 1 rubygems