Skip to content

Commit a6513e9

Browse files
committed
oops
1 parent 9fa105e commit a6513e9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

spec/unit/library_spec.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def generate_software(name, version, dependencies = [])
113113
end
114114

115115
it "returns an array of software descriptions, with all top level deps first, assuming they are not themselves transitive deps" do
116-
expect(library.build_order(&:name)).to eql(
116+
expect(library.build_order.map(&:name)).to eql(
117117
[
118118
preparation, # first
119119
erlang, # via erchef project
@@ -125,7 +125,8 @@ def generate_software(name, version, dependencies = [])
125125
erchef, # project dep
126126
chef, # project dep
127127
chefdk, # project dep
128-
].map(&:name))
128+
].map(&:name)
129+
)
129130
end
130131
end
131132
end

0 commit comments

Comments
 (0)