Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add step and API to add whole lines to a file #780

Merged
merged 4 commits into from
Jan 31, 2021

Commits on Jan 24, 2021

  1. Add step and API to add whole lines to a file

    Due to how multi-line string literals work in Gherkin, it is easy to
    accidentally have fewer newlines than intended when building up a file
    using append_to_file.
    
    To mitigate this while still allowing building up files without inserted
    newlines, this change introduces a new API method #append_lines_to_file and
    a corresponding step definition, that will ensure a newline is present
    between the original content and the added content.
    mvz committed Jan 24, 2021
    Configuration menu
    Copy the full SHA
    b179c4d View commit details
    Browse the repository at this point in the history
  2. Allow any block length in specs

    mvz committed Jan 24, 2021
    Configuration menu
    Copy the full SHA
    9169cd2 View commit details
    Browse the repository at this point in the history
  3. Regenerate RuboCop to-do file

    mvz committed Jan 24, 2021
    Configuration menu
    Copy the full SHA
    ac69b3e View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2021

  1. Configuration menu
    Copy the full SHA
    6b65b2e View commit details
    Browse the repository at this point in the history