Top Level Namespace

Defined Under Namespace

Modules: RSpec, Sidekiq

Instance Method Summary collapse

Instance Method Details

#mocked_with_mocha?Boolean

Helpers ———————————————-

Returns:

  • (Boolean)


104
105
106
# File 'lib/rspec/sidekiq/batch.rb', line 104

def mocked_with_mocha?
  Sidekiq::Batch.respond_to? :stubs
end