features/applies_rules.feature in pdd-0.10 vs features/applies_rules.feature in pdd-0.11

- old
+ new

@@ -27,5 +27,15 @@ @todo #13:15min The text """ When I run bin/pdd with "" Then Exit code is not zero Then Stdout contains "there are 2 duplicate" + + Scenario: Throwing exception on duplicates + Given I have a "Sample.java" file with content: + """ + @todo #13/DEV:15min Some text first + @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"