On Nov 13, 2009, at 6:04 pm, Arco wrote: > Is there a way to mock the Org object, without having to require it in > my test setup ??
Hi Arco Are you running the spec through something that loads a code loader (eg: for my specs, spec_helper.rb starts Merb in the test environment), or just running that one file on its own? That's the simplest way I can think this would be failing. Ashley -- http://www.patchspace.co.uk/ http://www.linkedin.com/in/ashleymoran _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users