Skip to content
Snippets Groups Projects
Commit 89419ffe authored by Marcela Ribeiro de Oliveira's avatar Marcela Ribeiro de Oliveira
Browse files

Adding curator and thumbnail in learning_objects tests

parent 2a66ad51
No related branches found
No related tags found
No related merge requests found
...@@ -54,9 +54,13 @@ resource 'Learning Objects' do ...@@ -54,9 +54,13 @@ resource 'Learning Objects' do
parameter :object_type_id, 'The id of object type', scope: :learning_object parameter :object_type_id, 'The id of object type', scope: :learning_object
parameter :language_id, 'The id of a language', scope: :learning_object parameter :language_id, 'The id of a language', scope: :learning_object
parameter :license_id, 'The id of a license', scope: :learning_object parameter :license_id, 'The id of a license', scope: :learning_object
parameter :curator, 'The name of curator', scope: :learning_object
parameter :thumbnail, 'The learning_object thumbnail', scope: :learning_object
let(:author) { Faker::Name.name } let(:author) { Faker::Name.name }
let(:name) { Faker::Name.name } let(:name) { Faker::Name.name }
let(:curator) { Faker::Name.name }
let(:thumbnail) { Faker::Avatar.image }
let(:description) { Faker::Lorem.paragraph } let(:description) { Faker::Lorem.paragraph }
let(:object_type_id) { object_types.first.id } let(:object_type_id) { object_types.first.id }
let(:language_id) { languages.first.id } let(:language_id) { languages.first.id }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment