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

test: example bug feature #92

Merged
merged 1 commit into from Oct 26, 2022
Merged

test: example bug feature #92

merged 1 commit into from Oct 26, 2022

Conversation

davidalpert
Copy link
Owner

@davidalpert davidalpert commented Oct 9, 2022

demonstrates #89

fails with:

  Scenario:                                                          # features/git-mob/bugs/89-co-authors-not-cleared-from-message-template-when-returning-to-git-solo.feature:30
    Given I successfully run `git mob ad`                            # aruba-2.0.0/lib/aruba/cucumber/command.rb:10
    And the file "~/.gitmessage" should contain:                     # aruba-2.0.0/lib/aruba/cucumber/file.rb:157
      """

      Co-authored-by: Amy Doe <amy@findmypast.com>
      """
    When I successfully run `git solo`                               # aruba-2.0.0/lib/aruba/cucumber/command.rb:10
    And the file "~/.gitmessage" should not contain "Co-authored-by" # aruba-2.0.0/lib/aruba/cucumber/file.rb:148
      expected "\n\nCo-authored-by: Amy Doe <amy@findmypast.com>" not to have file content: string includes: "Co-authored-by" (RSpec::Expectations::ExpectationNotMetError)
      features/git-mob/bugs/89-co-authors-not-cleared-from-message-template-when-returning-to-git-solo.feature:38:in `the file "~/.gitmessage" should not contain "Co-authored-by"'

@davidalpert davidalpert merged commit 87f40b5 into main Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant