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 authored and sachin-sandhu committed May 24, 2024
1 parent 9a038ce commit 554d708
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 @@ -537,7 +537,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 @@ -213,7 +213,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 554d708

Please sign in to comment.