I don't know if you have an answer you like yet, but it seems like you aren't requiring your files correctly.
Your 'lib/class_found.rb'
file should require all your library files, so it should look something like:
require 'workers/class_not_found'
and your spec_helper.rb
will require the main file in your lib
folder, so it should look something like:
require 'class_found'
rspec automatically loads 'spec/spec_helper.rb'
when it runs, it also automatically adds the 'lib'
folder to its LOAD_PATH
, so that your requires in 'lib/class_found.rb'
are seen and required properly.