Sha256: 98ae72baefe86f9c0c83e144e3e7db8265351d3dbef848031ebfb63abdaaa85d

Contents?: true

Size: 443 Bytes

Versions: 9

Compression:

Stored size: 443 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe Evostream::Commands::GetStreamInfo do
  let(:command) { Evostream::Commands::GetStreamInfo }

  context 'id' do
    let(:cmd) { { id: Faker::Number.between(1, 999).to_s } }

    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
end

Version data entries

9 entries across 9 versions & 1 rubygems

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