category=Category.new(name:'Some Category',subcategories:[subcategory1,subcategory2],description:'A description for some Category',short_description:'A short description for some Category')
category=Category.new(name:'Some Category',subcategories:[subcategory1,subcategory2],description:'A description for some Category',short_description:'A short description for some Category', category_id:'1')
returnCategoryPresenter.new(category:category)
end
@ -38,10 +38,11 @@ describe CategoryPresenter do
DatabaseCleaner.clean
end
it'returns the name and description of the category' do
it'returns the name, id and description of the category' do