* Add system test to create article from the editor * Move article creation from API to app controller * Fix system test to edit posts * Move article update from API to app controller * Rewrite create article API using API key * Add main_image and canonical_url to allowed creation params * Rewrite update article API using API key * Fix tests and have Comments API inherit from API
5 lines
92 B
Ruby
5 lines
92 B
Ruby
FactoryBot.define do
|
|
factory :collection do
|
|
slug { "word-#{rand(10_000)}" }
|
|
end
|
|
end
|