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

change tags to be a hash

parent 5c4faa58
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ resource 'Learning Objects' do
let(:license_id) { licenses.first.id }
let(:software) { Faker::Lorem::sentence }
let(:link) { Faker::Internet.url }
let(:tags) { [ name: tag.first.name, name: tag.last.name ] }
let(:tags) { [ {name: tag.first.name}, {name: tag.last.name} ] }
let(:subjects) { [ subject.first.id ] }
let(:educational_stages) { [ educational_stage.first.id ] }
let(:raw_post) { params.to_json }
......
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