Sha256: c47654354f57906dd3fa1471ef670ae0dfab8874c00ad443506dfb1ebb48a338

Contents?: true

Size: 475 Bytes

Versions: 2

Compression:

Stored size: 475 Bytes

Contents

Feature: Valid Ruby
  As a Ruby developer, I want to check my project files to make sure they're
  valid Ruby, so when I see other tailor problems, I know why those problems
  might be there.

  Scenario: Extra 'end'
    Given a file named "extra_end.rb" with:
    """
    def a_method
      puts 'stuff'
    end
    end

    """
    When I run `tailor -d extra_end.rb`
    Then the output should match /TOTAL.*1/
    And the output should match /File contains invalid Ruby/

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tailor-1.4.1 features/valid_ruby.feature
tailor-1.4.0 features/valid_ruby.feature