[Ironruby-core] "can't convert Subclass_..." when isolating an interface
lists at ruby-forum.com
Wed Aug 4 05:17:06 EDT 2010
I've been trying to use caricature to stub my services in my controllers
tests, now when I try to test this code:
public TestController(ITestService service)
_service = service;
when my interface is:
public interface ITestService
s = isolate ITestService
c = TestController.new s
I get the above mentioned error (see attachment)
Any ideas what I'm doing wrong?
Posted via http://www.ruby-forum.com/.
More information about the Ironruby-core