• Yorick Peterse's avatar
    Remove use of any_instance_of in runner spec · 78c9f81c
    Yorick Peterse authored
    In EE we prepend a module into BuildFinishedWorker. This would cause
    this spec to fail because RSpec doesn't support the use of
    "any_instance_of" with classes that include a prepended module.
    
    To work around this we just stub the "perform_async" class method
    instead of stubbing the "perform" instance method.
    78c9f81c
runner_spec.rb 42.7 KB