Extra spec

Hi,

If I do something like this:

before(:each) do
@test_class = Class.new do
blahblah
end
end

I will get one extra test shown:
MyTest

  • test_class

Where did I go wrong for this?

Thanks

Yi

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