Sha256: d02f54cba47443177dae60f1fb33e3a1ed371cfc72f6082c797db664a991d7e0

Contents?: true

Size: 624 Bytes

Versions: 10

Compression:

Stored size: 624 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(:arg_value) { Faker::Number.between(from: 0, to: 1) }
    let(:argument) { 'remove_hls_hds_files' }

    include_examples 'command raise'
  end

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

    include_examples 'command raise'
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
evostream-event-2.0.2 spec/evostream/commands/destroy_spec.rb
evostream-event-2.0.2.pre.994185738 spec/evostream/commands/destroy_spec.rb
evostream-event-2.0.0.pre.994170151 spec/evostream/commands/destroy_spec.rb
evostream-event-2.0.0.pre.994165179 spec/evostream/commands/destroy_spec.rb
evostream-event-2.0.0.pre.994159616 spec/evostream/commands/destroy_spec.rb
evostream-event-2.0.0.pre.856454391 spec/evostream/commands/destroy_spec.rb
evostream-event-2.0.0.pre.856447460 spec/evostream/commands/destroy_spec.rb
evostream-event-2.0.0.pre.856441003 spec/evostream/commands/destroy_spec.rb
evostream-event-2.0.0.pre.816370746 spec/evostream/commands/destroy_spec.rb
evostream-event-2.0.0.pre.809444619 spec/evostream/commands/destroy_spec.rb