New Cucumber Factory makes it easier to associate records

Updated . Posted . Visible to the public.

I pushed a new version of the Cucumber Factory Show archive.org snapshot gem. This new release lets you refer to a previously created record by any string attribute:

Given there is a movie with the title "Before Sunrise"
And there is a movie with the title "Limitless"
And there is a movie with the prequel "Before Sunrise"

Note how we didn't have to explicitly give the prequel a name in the example above. This is still possible, but will rarely be necessary now:

Given "Before Sunrise" is a movie with the title "Before Sunrise"
And there is a movie with the title "Limitless"
And there is a movie with the prequel "Before Sunrise"
Henning Koch
Last edit
License
Source code in this card is licensed under the MIT License.
Posted by Henning Koch to makandra dev (2011-06-12 12:09)