Make test suite independent of delayed_job test suite #18

voxik opened this Issue May 3, 2012 · 1 comment


None yet
3 participants

voxik commented May 3, 2012


I am packaging your gem for Fedora. I was trying to execute the test suite while I was facing this error:

/usr/share/rubygems/rubygems/custom_require.rb:36:in `require': cannot load such file -- /usr/share/gems/gems/delayed_job-3.0.2/spec/sample_jobs (LoadError)

The reason for this error is that we typically don't install test suite with the main package, since it is not needed by regular user, and we install it just as a part of documentation subpackage. So if I add the dependency just on the gem (without documentation, as I always do), I am facing this error.

Now I am wondering, if you would consider to split the test suite. I have never seen before test suite which depends on another gem's test suite. This is not a show stopper, of course I can depend on the documentation subpackage and test suite passes.

I understand, that this is rather academic problem. However, I'd love to know your opinion. Thank you.


sferik commented Apr 2, 2013

Have you come up with a workaround for this? I'd rather not copy the delayed_job test suite into this project. Perhaps it can be solved with git submodule?

albus522 closed this Sep 25, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment