Sha256: 822e57646806e635c416ad931b404c9648df30ac71bf735d164867e992ed63df
Contents?: true
Size: 992 Bytes
Versions: 13
Compression:
Stored size: 992 Bytes
Contents
Feature: checks for Sandi Metz rules violations In order to find Sandi Metz rules violations As a ruby developer I want to run warder with --sandi-rules option Scenario: run warder with enabled sandi rules option Given I have valid_rails_app project in directory And I am on project directory When I run `warder --sandi-rules` Then warder detects sandi rules violations Then the exit status should be 0 Scenario: run warder with enabled sandi rules option on invalid project Given I have invalid_rails_app project in directory And I am on project directory When I run `warder --sandi-rules` Then warder detects sandi rules violations Then the exit status should be 1 Scenario: run warder with disabled sandi rules option on invalid project Given I have invalid_rails_app project in directory And I am on project directory When I run `warder --no-sandi-rules` Then warder does nothing Then the exit status should be 0
Version data entries
13 entries across 13 versions & 1 rubygems