Skip to content

Commit

Permalink
improving test context
Browse files Browse the repository at this point in the history
  • Loading branch information
robaiken committed Oct 16, 2024
1 parent 688be73 commit be8eac1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -493,13 +493,13 @@
end
end

context "doesn't filter out the correct tag due to an unrelated tag containing the package name" do
context "when there are tags containing the dependency name as a substring" do
let(:dependency_name) { "React" }
let(:dependency_version) { "18.3.1" }
let(:dependency_previous_version) { "18.3.0" }
let(:github_response) { fixture("github", "releases_with_mixed_tag_formats.json") }

it "gets the right text" do
it "doesn't filter out the correct tag due to unrelated tags containing the package name" do
expect(releases_text)
.to eq(
"## 18.3.1 (April 26, 2024)\n" \
Expand Down

0 comments on commit be8eac1

Please sign in to comment.