# frozen_string_literal: true require 'spec_helper' describe Evostream::Commands::Destroy do let(:command) { Evostream::Commands::Destroy } context 'id' do let(:cmd) { { id: Faker::Number.between(1, 99).to_s } } include_examples 'command' end context 'remove_hls_hds_files' do let(:arg_value) { Faker::Number.between(0, 1) } let(:argument) { 'remove_hls_hds_files' } include_examples 'command raise' end context 'group_name' do let(:arg_value) { Faker::Games::Pokemon.name } let(:argument) { 'group_name' } include_examples 'command raise' end end