features/applies_rules.feature in pdd-0.17.8 vs features/applies_rules.feature in pdd-0.17.9
- old
+ new
@@ -37,5 +37,14 @@
@todo #13/TEST:15min The text second
"""
When I run bin/pdd with "--rule=available-roles:DEV,IMP"
Then Exit code is not zero
Then Stdout contains "defines role TEST"
+
+ Scenario: Throwing exception on touching max-duplicates rule
+ Given I have a "Sample.java" file with content:
+ """
+ @todo #334:15m This is the puzzle
+ @todo #35:30m This is the puzzle
+ """
+ When I run bin/pdd with "--rule=max-duplicates:3"
+ Then Exit code is not zero