[rspec-users] extra spec

Yi hayafirst at gmail.com
Wed Mar 18 16:46:06 EDT 2009


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
-- 
http://yiwenandsoftware.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20090318/cfc2708d/attachment.html>


More information about the rspec-users mailing list