Sha256: 6b135ec5107469e92f305c9578cb4759bd44c9941fd8a05041871407b10bc8a2

Contents?: true

Size: 484 Bytes

Versions: 2

Compression:

Stored size: 484 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 Problems.*1/
    And the output should match /File contains invalid Ruby/

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tailor-1.0.1 features/valid_ruby.feature
tailor-1.0.0 features/valid_ruby.feature