Sha256: 7153c4358fa77dadd26a26ab5fb5c8f7c58a7b1c20bf4dd75f3f3fe7edbd9adf

Contents?: true

Size: 475 Bytes

Versions: 10

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

10 entries across 10 versions & 1 rubygems

Version Path
tailor-1.3.1 features/valid_ruby.feature
tailor-1.3.0 features/valid_ruby.feature
tailor-1.2.1 features/valid_ruby.feature
tailor-1.2.0 features/valid_ruby.feature
tailor-1.1.5 features/valid_ruby.feature
tailor-1.1.4 features/valid_ruby.feature
tailor-1.1.3 features/valid_ruby.feature
tailor-1.1.2 features/valid_ruby.feature
tailor-1.1.1 features/valid_ruby.feature
tailor-1.1.0 features/valid_ruby.feature