Sha256: 0eed399f3302d671cb5b61a391494320935784533d73d1126b0e12d1da8b51bc

Contents?: true

Size: 596 Bytes

Versions: 9

Compression:

Stored size: 596 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

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

  context 'uri' do
    let(:cmd) { { uri: 'rtmp://de.pscp.tv:80/x/31' } }

    include_examples 'command'
  end

  context 'local_stream_name' do
    let(:arg_value) { Faker::Pokemon.name }
    let(:argument) { 'local_stream_name' }

    include_examples 'command raise'
  end

  context 'target_stream_name' do
    let(:arg_value) { Faker::Pokemon.name }
    let(:argument) { 'target_stream_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/push_stream_spec.rb
evostream-event-1.0.2 spec/evostream/commands/push_stream_spec.rb
evostream-event-1.0.2.pre.75 spec/evostream/commands/push_stream_spec.rb
evostream-event-1.0.2.pre.74 spec/evostream/commands/push_stream_spec.rb
evostream-event-1.0.1 spec/evostream/commands/push_stream_spec.rb
evostream-event-1.0.1.pre.72 spec/evostream/commands/push_stream_spec.rb
evostream-event-1.0.0 spec/evostream/commands/push_stream_spec.rb
evostream-event-1.0.0.pre.69 spec/evostream/commands/push_stream_spec.rb
evostream-event-1.0.0.pre.65 spec/evostream/commands/push_stream_spec.rb