command_spec.rb 324 B

1234567891011
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. require 'rails_helper'
  3. RSpec.describe Tasks::Zammad::Command do
  4. context 'when listing all commands' do
  5. it 'rake finds zammad commands' do
  6. expect(`bundle exec rake --tasks`).to include('zammad:package:reinstall_all')
  7. end
  8. end
  9. end