Aims. In the past four decades, it has been observed that solar flares display quasi-periodic pulsations (QPPs) from the lowest, i.e. radio, to the highest, i.e. gamma-ray, frequencies in the electromagnetic spectrum. It remains unclear which mechanism creates these QPPs. In this paper, we analyze four bright solar flares that display compelling signatures of quasi-periodic behavior and were observed with the Gamma-Ray Burst Monitor (GBM) onboard the Fermi satellite. Because GBM covers over three decades in energy (8 keV to 40 MeV), it is regarded as a key instrument in our attempt to understand the physical processes that drive solar flares. Methods. We tested for periodicity in the time series of the solar flares observed by GBM by applying a classical periodogram analysis. However, in contrast to previous authors, we did not detrend the raw light curve before creating the power spectral density (PSD) spectrum. To assess the significance of the frequencies, we used a method that is commonly applied to X-ray binaries and Seyfert galaxies. This technique takes into account the underlying continuum of the PSD, which for all of these sources has a P( f ) ∼ f −α dependence and is typically labeled red-noise. Results. We checked the reliability of this technique by applying it to observations of a solar flare that had been observed by the Reuven Ramaty High-Energy Solar Spectroscopic Imager (RHESSI ). These data contain, besides any potential periodicity from the Sun, a 4 s rotational period caused by the rotation of the spacecraft about its axis. We were unable to identify any intrinsic solar quasi-periodic pulsation but we did manage to reproduce the instrumental periodicity. Moreover, with the method adopted here, we do not detect significant QPPs in the four bright solar flares observed by GBM. We stress that for this kind of analyses it is of utmost importance to account appropriately for the red-noise component in the PSD of these astrophysical sources.