- 09 8月, 2017 1 次提交
-
-
由 Lin Jen-Shin 提交于
-
- 03 8月, 2017 1 次提交
-
-
由 Robert Speicher 提交于
-
- 02 8月, 2017 1 次提交
-
-
由 Robert Speicher 提交于
This shared example would take an object's database ID and create a number of objects based on it. If for some reason the ID were a high number, like 20, this would create `20 + 21 + 22` objects. Not only was this dangerous from a performance perspective, it was entirely unnecessary, as the behavior it was testing is already well-tested in the unit test for the underlying object. For a controller test, which is what's including this shared example, all we need to do is verify that the assigned object contains the correct `id => object` Hash, which is what we now test for.
-
- 04 4月, 2017 2 次提交
-
-
由 mhasbini 提交于
-
由 Rémy Coutable 提交于
FFaker can generate data that randomly break our test suite. This simplifies our factories and use sequences which are more predictive. Signed-off-by: NRémy Coutable <remy@rymai.me>
-
- 24 2月, 2017 1 次提交
-
-
由 Douwe Maan 提交于
-
- 23 2月, 2017 2 次提交
-
-
由 Douwe Maan 提交于
-
由 Douwe Maan 提交于
-
- 10 2月, 2017 1 次提交
-
-
由 Felipe Artur 提交于
-