Unable to describe...expected?

Question.
I noticed that this code:

class Redcar::Project
describe FileMirror do

is allowed, however this code

module Redcar
describe Project do

is not.
Is this expected?
-r

is allowed, however this code

module Redcar
describe Project do

is not.

Oops–appears the problem was that I was running it as ruby instead of
spec (and/or including autorun). Sorry for the noise.
-r