[rspec-users] [rspec]spec_server: already initialized constant MyTestClass
dchelimsky at gmail.com
Fri May 1 10:05:38 EDT 2009
On Fri, May 1, 2009 at 8:42 AM, Matt Wynne <matt.songkick at googlemail.com> wrote:
> I'm creating a class in my spec file to test out a module, but when I run
> the spec a second time in spec_server, I get the error above.
> I presume this is because rails is un-loading the class, and it's not
> getting re-loaded properly.
> Does anyone have a nice workaround for this?
What version of rspec[-rails]?
> Matt Wynne
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users