Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
deriamis committed Feb 29, 2024
1 parent 9fa105e commit a6513e9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions spec/unit/library_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def generate_software(name, version, dependencies = [])
end

it "returns an array of software descriptions, with all top level deps first, assuming they are not themselves transitive deps" do
expect(library.build_order(&:name)).to eql(
expect(library.build_order.map(&:name)).to eql(
[
preparation, # first
erlang, # via erchef project
Expand All @@ -125,7 +125,8 @@ def generate_software(name, version, dependencies = [])
erchef, # project dep
chef, # project dep
chefdk, # project dep
].map(&:name))
].map(&:name)
)
end
end
end
Expand Down

0 comments on commit a6513e9

Please sign in to comment.