Skip to content

Commit

Permalink
rename the test
Browse files Browse the repository at this point in the history
  • Loading branch information
honeyankit committed Apr 5, 2024
1 parent dd9a6ef commit beb7acc
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2422,7 +2422,7 @@ def commits_details(base:, head:)
end
end

context "with five or more dependencies with same name, different to and from versions" do
context "with five or more dependencies with some duplicates" do
let(:dependency2) do
Dependabot::Dependency.new(
name: "business2",
Expand Down Expand Up @@ -2477,7 +2477,7 @@ def commits_details(base:, head:)
Dependabot::Dependency.new(
name: "business6",
version: "0.5.4",
previous_version: "0.4.1",
previous_version: "0.4.2",
package_manager: "dummy",
requirements: [],
previous_requirements: []
Expand Down Expand Up @@ -2542,7 +2542,7 @@ def commits_details(base:, head:)

it "has the correct message" do
expect(pr_message).to start_with(
"Bumps the all-the-things group with 8 updates:\n\n" \
"Bumps the all-the-things group with 7 updates:\n\n" \
"| Package | From | To |\n" \
"| --- | --- | --- |\n" \
"| [business](https://github.com/gocardless/business) | `1.4.0` | `1.5.0` |\n" \
Expand All @@ -2551,7 +2551,6 @@ def commits_details(base:, head:)
"| [business4](https://github.com/gocardless/business4) | `2.1.0` | `2.1.1` |\n" \
"| [business5](https://github.com/gocardless/business5) | `0.16.2` | `0.17.0` |\n" \
"| [business6](https://github.com/gocardless/business6) | `0.4.2` | `0.5.4` |\n" \
"| [business6](https://github.com/gocardless/business6) | `0.4.1` | `0.5.4` |\n" \
"| [business6](https://github.com/gocardless/business6) | `0.4.2` | `1.5.0` |\n\n" \
"Updates `business` from 1.4.0 to 1.5.0"
)
Expand Down

0 comments on commit beb7acc

Please sign in to comment.