1. To make pastry, place flour, cheese and butter in a food processor and process until mixture resembles fine breadcrumbs.
2. With machine running, slowly add enough water to form a soft dough. Knead dough on a floured surface. Wrap in plastic food wrap and refrigerate for 30 minutes.
3. Roll out pastry to 3 mm / 1/8 in thick. Using an 8 cm / 3 1/2 in fluted pastry cutter, cut out twenty rounds. Place in lightly greased tins. Pierce base and sides with a fork and bake at 200°C/400°F/Gas 6 for 5-10 minutes.
4. To make filling, heat oil in a frying pan over a medium heat. Add spring onions, garlic and spinach and cook, stirring, until spinach is wilted. Remove pan from heat and set aside to cool.
5. Mix spinach mixture, ricotta cheese, eggs, milk and nutmeg in a bowl. Spoon filling into pastry cases and sprinkle with pine nuts. Reduce oven temperature to 180°C/350°F/Gas 4 and bake for 15-20 minutes.