Sha256: 1933a0b01e9804615313fddfbba73b8edae61ba231a2dd10e7c7c7c1bb6b388a

Contents?: true

Size: 595 Bytes

Versions: 9

Compression:

Stored size: 595 Bytes

Contents

# 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::Pokemon.name }
    let(:argument) { 'group_name' }

    include_examples 'command raise'
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
evostream-event-1.0.3.pre.83 spec/evostream/commands/destroy_spec.rb
evostream-event-1.0.2 spec/evostream/commands/destroy_spec.rb
evostream-event-1.0.2.pre.75 spec/evostream/commands/destroy_spec.rb
evostream-event-1.0.2.pre.74 spec/evostream/commands/destroy_spec.rb
evostream-event-1.0.1 spec/evostream/commands/destroy_spec.rb
evostream-event-1.0.1.pre.72 spec/evostream/commands/destroy_spec.rb
evostream-event-1.0.0 spec/evostream/commands/destroy_spec.rb
evostream-event-1.0.0.pre.69 spec/evostream/commands/destroy_spec.rb
evostream-event-1.0.0.pre.65 spec/evostream/commands/destroy_spec.rb