Migrated to proforma 0.6
Fixed all failing specs
This commit is contained in:
@@ -63,13 +63,16 @@ module ProformaService
|
||||
id: file.id,
|
||||
title: file.name,
|
||||
files: test_file(file),
|
||||
meta_data: {
|
||||
'feedback-message' => file.feedback_message,
|
||||
}.compact
|
||||
meta_data: test_meta_data(file)
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
def test_meta_data(file)
|
||||
[{namespace: 'openHPI', key: 'entry-point', value: file.filepath},
|
||||
{namespace: 'openHPI', key: 'feedback-message', value: file.feedback_message}]
|
||||
end
|
||||
|
||||
def test_file(file)
|
||||
[
|
||||
task_file(file).tap do |t_file|
|
||||
|
Reference in New Issue
Block a user