features/detects_code_complexity.feature in warder-0.1.1 vs features/detects_code_complexity.feature in warder-0.1.2
- old
+ new
@@ -4,17 +4,17 @@
I want to run warder with --code-complexity option
Scenario: run warder with enabled code complexity option
Given I have valid file in directory
When I run `warder --code-complexity`
- Then warder detects code complexity
+ Then warder detects code complexity issues
Then the exit status should be 0
Scenario: run warder with enabled code complexity option on invalid file
Given I have invalid_code_complexity file in directory
When I run `warder --code-complexity`
- Then warder detects code complexity
+ Then warder detects code complexity issues
Then the exit status should be 1
Scenario: run warder with enabled code complexity option on valid file only
Given I have valid file in directory
And I have invalid_code_complexity file in directory
@@ -25,6 +25,5 @@
Scenario: run warder with disabled code complexity option on invalid file
Given I have invalid_code_complexity file in directory
When I run `warder --no-code-complexity`
Then warder does nothing
Then the exit status should be 0
-