spec: fix jruby failure by using subject instead of stdout

Signed-off-by: Alejandro Martinez Ruiz <alex@flawedcode.org>