Skip to content

Commit c80f123

Browse files
committed
Refactor: Use 'it' for simple manipulration in block
1 parent 54ab8bd commit c80f123

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/models/dojo_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
167, 168, 170, 171, 213
8383
]
8484

85-
ids = Dojo.load_attributes_from_yaml.map { |d| d['id'] }
85+
ids = Dojo.load_attributes_from_yaml.map { it['id'] }
8686
max_id = ids.max
8787
missing_ids = (1..max_id).to_a - ids
8888

0 commit comments

Comments
 (0)