update_api_password_access_frontend_spec.rb 327 B

12345678910111213
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. require 'rails_helper'
  3. RSpec.describe UpdateApiPasswordAccessFrontend, type: :db_migration do
  4. before do
  5. migrate
  6. end
  7. it 'does update the setting' do
  8. expect(Setting.find_by(name: 'api_password_access')[:frontend]).to be(true)
  9. end
  10. end