Preheat the oven to 350°F (175°C) and line a muffin tin with mini liners.
Whisk together the flour, sugar, cocoa powder and baking soda.
In a separate bowl, whisk the oil, buttermilk, egg, food coloring, vanilla and vinegar.
Combine the wet and dry ingredients until smooth.
Divide the batter among the liners, filling each two-thirds full.
Bake for 16 to 18 minutes, until a toothpick comes out clean.
Cool completely before frosting.
Swirl cream cheese frosting on top of each mini cake.