Updated Rspec syntax
define_method instead of class_eval, more readable!
Updated RSpec syntax to be 3.0 compliant
We need to specify Sidekiq.options[:require] as a file otherwise 'rails' gets required
adapted to Rspec 3 syntax
Is now compatible with Sidekiq >= 2.7 && < 3.2