##// END OF EJS Templates
fix(permissions): added a common way to update private flag via repo model...
fix(permissions): added a common way to update private flag via repo model - this allows to have a one and only one way to control the flag with the business logic shared - added test for that - changed view to use this method instead of DB update and custom permissions flush - fixed a case when update of repo settings didn't flush permissions actually while it should when private flag changed

File last commit:

r271:401985cc default
r5551:5b9b5ed2 default
Show More
index.rst
28 lines | 694 B | text/x-rst | RstLexer

Testing and Specifications

We have a quite large test suite inside of :file:`rhodecode/tests` which is a mix of unit tests and functional or integration tests. More details are in :ref:`test-unit-and-functional`.

Apart from that, we are starting to apply "Specification by Example" and maintain a collection of such specifications together with an implementation so that it can be validated in an automatic way. The files can be found in :file:`acceptance_tests`. More details are in :ref:`test-spec-by-example`.