[rspec-users] Singleton classes

Juanma Cervera lists at ruby-forum.com
Tue Jan 19 07:03:43 EST 2010

I am trying to spec a singleton ruby class,
And I am having a little trouble because my specs are not more isolated,
as I am getting the same instace of the class for all my examples.

How should I do this.?
Which is the correct way of specing a singleton class?

Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list