I'm new to rspec, so, I might be coloring outside the lines, but,
there have been several instances where I have wanted to display a
comment or note.

for example:

describe "truck" do
  it "should require model" do
  end
end

rspec spec --format doc

truck
  should require model

What I mean by display a comment or note would be like:

truck
  NOTE: blah, blah, blah...
  should require model

Currently, I'm accomplishing this goal by using a describe with an
empty block.  Maybe I'm breaking some rules here, but, it just made
sense to display a note given the particular spec I'm working on.

Is there a way to accomplish the same thing other than using a
describe with an empty block??

_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to