Skip to content

Commit

Permalink
Updated RSpec context description to match linter requirement (should…
Browse files Browse the repository at this point in the history
… start with when/with/without)
  • Loading branch information
kpumuk committed May 18, 2024
1 parent 0e5fc84 commit 8317953
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bundler/spec/dependabot/bundler/file_updater_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@
end
end

context "given a Gemfile that loads a .tool-versions file" do
context "when the Gemfile loads a .tool-versions file" do
let(:project_name) { "tool_versions_file" }
let(:updater) do
described_class.new(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
its([:version]) { is_expected.to eq(Gem::Version.new("1.5.0")) }
end

context "when a Gemfile that loads a .tool-versions file" do
context "when the Gemfile loads a .tool-versions file" do
let(:dependency_files) { bundler_project_dependency_files("tool_versions_file") }

its([:version]) { is_expected.to eq(Gem::Version.new("1.5.0")) }
Expand Down

0 comments on commit 8317953

Please sign in to comment.