If I get you right, there is a box having a small device that dissipates 30 Watts of heat continuously into the air. The air is blocked into a box, no way in or out. There are no fans/blowers trying to cool the device itself nor circulating the air inside the box. The size of the box is to be defined and the air temperature inside the box has to be figured out.
If the air volume were infinite - we could assume that its ambient temperature is fixed (25 deg), approximate a natural heat convection coefficient (something around 7-10 watts $\frac{Watt}{m^2K}$) and find out the temperature over the heatsink by using the well-known $q=hA(\Delta T)$ equation. When q is the dissipated heat, A is the total area of heat convection and $\Delta T$ is the difference between the ambient temp and the temp over the heatsink surface (assuming it is uniformly distributed).
However, in your case the temperature of the air inside the box will rise up since its volume is finite. In the long run, the steady state, the total amount of heat flowing out of the box must be exactly 30 watts and the air temperature will converged to a constant value.
Choosing the desired walls are is a bit tricky procedure: Assuming the walls have a constant uniform temperature of 25 degrees, and guessing the air temperature is something between 25 deg to the heatsink temp - we can find the total area needed for allowing the 30 watt heat to flow outside the box under those assumptions. It is a kind of back and forth calculation for getting an order of magnitude. For whatever area you finally choose, you can find out the air temperature close to the walls by using $q=hA(\Delta T)$. This time A is the walls area. We can take an assumption that the air temperature inside the box is uniform and having that value.
Now you have a decent approximation of the air temperature and you can go on finding the heatsink temperature.
Of course, this is only an approximation. For more precise calculation you may use a CFD tool.
Using the specific heat and heat capacity are needed only if you want to analyze transient problem. I.e - checking the temperature behavior during time before reaching the steady state.