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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs