diff options
Diffstat (limited to 'spec/services/users/migrate_to_ghost_user_service_spec.rb')
-rw-r--r-- | spec/services/users/migrate_to_ghost_user_service_spec.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/spec/services/users/migrate_to_ghost_user_service_spec.rb b/spec/services/users/migrate_to_ghost_user_service_spec.rb index c36889f20ec..073ebaae5b0 100644 --- a/spec/services/users/migrate_to_ghost_user_service_spec.rb +++ b/spec/services/users/migrate_to_ghost_user_service_spec.rb @@ -3,9 +3,10 @@ require 'spec_helper' RSpec.describe Users::MigrateToGhostUserService do - let!(:user) { create(:user) } - let!(:project) { create(:project, :repository) } - let(:service) { described_class.new(user) } + let!(:user) { create(:user) } + let!(:project) { create(:project, :repository) } + let(:service) { described_class.new(user) } + let(:always_ghost) { false } context "migrating a user's associated records to the ghost user" do context 'issues' do |