Add documentation for transitive deps matcher

Change-Id: I6aa3c9718b08cf9de28532a5fd5b45e20a8d2256
Closes-bug: #1539486
This commit is contained in:
Vladimir Kuklin 2016-01-29 12:30:52 +03:00
parent d0174c147a
commit 489032e6d4
1 changed files with 14 additions and 0 deletions

View File

@ -101,3 +101,17 @@ Confirming the data changes made to became a new committed state
Use the same patterns as if making the Initial data templates generation.
Amend generated files to the commit (the change-set under test).
Using additional data rspec matchers
------------------------------------
There are some matchers for RSpec one would like to use
ensure_transitive_dependency(before, after)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This matcher allows one to check whether there is a
dependency between *after* and *before* resources
even if this dependency is transitional by means
of several other resources or containers such
as classes or defines.