features/skeptic.feature in skeptic-0.0.0 vs features/skeptic.feature in skeptic-0.0.1

- old
+ new

@@ -72,5 +72,30 @@ Then it should fail with: """ Number of methods per class (1) * Foo has 2 methods: #bar, #baz """ + + Scenario: Limiting line length + Given a file named "input.rb" with: + """ + short line + longer line + """ + When I run `skeptic --line-length 10 input.rb` + Then it should fail with: + """ + Line length (10) + * Line 2 is too long: 11 columns + """ + + Scenario: Checking the syntax + Given a file named "input.rb" with: + """ + unexpected end + """ + When I run `skeptic --check-syntax input.rb` + Then it should fail with: + """ + Syntax check + * Invalid syntax: + """