auth_third_party_no_create_user_spec.rb 409 B

123456789101112131415
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. require 'rails_helper'
  3. RSpec.describe AuthThirdPartyNoCreateUser, db_strategy: :reset, type: :db_migration do
  4. before do
  5. Setting.find_by(name: 'auth_third_party_no_create_user')&.destroy
  6. end
  7. it 'creates setting' do
  8. migrate
  9. expect(Setting.find_by(name: 'auth_third_party_no_create_user')).to be_present
  10. end
  11. end