debian-mirror-gitlab/spec/workers/namespaces/onboarding_user_added_worker_spec.rb

12 lines
298 B
Ruby
Raw Normal View History

2021-02-22 17:27:13 +05:30
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Namespaces::OnboardingUserAddedWorker, '#perform' do
2021-03-11 19:13:27 +05:30
let_it_be(:namespace) { create(:group) }
2021-02-22 17:27:13 +05:30
2021-03-11 19:13:27 +05:30
subject { described_class.new.perform(namespace.id) }
2021-02-22 17:27:13 +05:30
2021-03-11 19:13:27 +05:30
it_behaves_like 'records an onboarding progress action', :user_added
2021-02-22 17:27:13 +05:30
end