Skip to content

Commit

Permalink
Update test for dev transitive dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipuniverse committed Aug 8, 2023
1 parent 789a235 commit b894b7d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,9 @@
subject(:dep) { dependencies.find { |d| d.name == "atomicwrites" } }

its(:subdependency_metadata) do
is_expected.to eq([{ production: false }])
# This is how Poetry treats transitive dev dependencies, see discussion at https://github.com/python-poetry/poetry/pull/7637#issuecomment-1494272266
# and https://github.com/dependabot/dependabot-core/pull/7418#issuecomment-1644012926
is_expected.to eq([{ production: true }])
end
end

Expand Down

0 comments on commit b894b7d

Please sign in to comment.