Welcome to mirror list, hosted at ThFree Co, Russian Federation.

remove_active_job_execute_callback_spec.rb « initializers « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e88b859aa7789ecea457673f818bca407e39cbf5 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe 'ActiveJob execute callback' do
  it 'is removed in test environment' do
    expect(ActiveJob::Callbacks.singleton_class.__callbacks[:execute].send(:chain).size).to eq(0)
  end
end