Skip to content

Commit d11eac1

Browse files
committed
Fix test factory
1 parent 43c8c05 commit d11eac1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

spec/factories/reactions.rb

+4-2
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,10 @@ def get_aux(sample, material_type)
9696

9797
{
9898
id: i.to_s,
99-
analyses: [],
100-
notes: '',
99+
metadata: {
100+
analyses: [],
101+
notes: '',
102+
},
101103
properties: {
102104
duration: { unit: 'Hour(s)', value: '42' },
103105
temperature: { unit: '°C', value: '42' },

0 commit comments

Comments
 (0)