Sha256: a7e22b3952e105a8e81af4926be2eff4a442d0ce214e52532ff45ea80386fd11

Contents?: true

Size: 565 Bytes

Versions: 4

Compression:

Stored size: 565 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe Evostream::Commands::Destroy do
  let(:command) { described_class }

  context 'when id' do
    let(:cmd) { { id: Faker::Number.between(from: 1, to: 99).to_s } }

    include_examples 'command'
  end

  context 'when remove_hls_hds_files' do
    let(:cmd) { { remove_hls_hds_files: Faker::Number.between(from: 0, to: 1).to_s } }

    include_examples 'command'
  end

  context 'when group_name' do
    let(:cmd) { { group_name: Faker::Games::Pokemon.name } }

    include_examples 'command'
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
evostream-event-2.0.3 spec/evostream/commands/destroy_spec.rb
evostream-event-2.0.3.pre.1265906291 spec/evostream/commands/destroy_spec.rb
evostream-event-2.0.3.pre.1265756691 spec/evostream/commands/destroy_spec.rb
evostream-event-2.0.3.pre.1265752332 spec/evostream/commands/destroy_spec.rb