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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

#6017: file_updter_spec context_worrding updates. #9749

Closed
wants to merge 11 commits into from

Conversation

thavaahariharangit
Copy link
Collaborator

No description provided.

@thavaahariharangit thavaahariharangit requested a review from a team as a code owner May 16, 2024 15:23
@github-actions github-actions bot added the L: ruby:bundler RubyGems via bundler label May 16, 2024
@@ -60,15 +60,14 @@ RSpec/ContainExactly:
Exclude:
- 'npm_and_yarn/spec/dependabot/npm_and_yarn/update_checker_spec.rb'

# Offense count: 30
# Offense count: 8
# Configuration parameters: Prefixes, AllowedPatterns.
# Prefixes: when, with, without
RSpec/ContextWording:
Exclude:
- 'common/spec/dependabot/pull_request_creator/message_builder_spec.rb'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can all the files be fixed in one go?

@@ -118,7 +118,7 @@
.to include("\"statesman\", \"~> 1.2.0\"")
end

context "for a gems.rb setup" do
context "when for a gems.rb setup" do
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's please try to make these sentences flow nicely, the idea of these context blocks is that, stringed together they explain in English what the test is trying to address, and those sentences should flow well, it makes it easier to understand the tests.

So in this case: when using a gems.rb setup for example, that way the entire test will read:

Dependabot::Bundler::FileUpdater##updated_dependency_files the updated gemfile when using a gems.rb setup, it delegates to the GemfileUpdater

@github-actions github-actions bot added L: java:gradle Maven packages via Gradle L: javascript labels May 17, 2024
@thavaahariharangit thavaahariharangit marked this pull request as draft May 17, 2024 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: java:gradle Maven packages via Gradle L: javascript L: ruby:bundler RubyGems via bundler
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants