Sha256: 228f3c7a213895c45edf13dd53177f100cdad03277b2dd0e419791a74de07310

Contents?: true

Size: 419 Bytes

Versions: 32

Compression:

Stored size: 419 Bytes

Contents

require_relative 'spec_helper'

describe Alephant::Broker::ComponentMeta do
  let(:id) { "foo" }
  let(:batch_id) { "bar" }
  let(:options) do
    {
      'variant' => 'K03000001'
    }
  end
  subject { described_class.new(id, batch_id, options) }

  describe '#options' do
    let(:expected) do
      {
        :variant => "K03000001"
      }
    end

    specify { expect(subject.options).to eq expected }
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
alephant-broker-3.13.0 spec/component_meta_spec.rb
alephant-broker-3.12.0 spec/component_meta_spec.rb
alephant-broker-3.11.0 spec/component_meta_spec.rb
alephant-broker-3.10.2 spec/component_meta_spec.rb
alephant-broker-3.10.1 spec/component_meta_spec.rb
alephant-broker-3.10.0 spec/component_meta_spec.rb
alephant-broker-3.9.2 spec/component_meta_spec.rb
alephant-broker-3.9.1 spec/component_meta_spec.rb
alephant-broker-3.9.0 spec/component_meta_spec.rb
alephant-broker-3.8.0 spec/component_meta_spec.rb
alephant-broker-3.7.1 spec/component_meta_spec.rb
alephant-broker-3.7.0 spec/component_meta_spec.rb
alephant-broker-3.6.1 spec/component_meta_spec.rb
alephant-broker-3.6.0 spec/component_meta_spec.rb
alephant-broker-3.5.5 spec/component_meta_spec.rb
alephant-broker-3.5.4 spec/component_meta_spec.rb
alephant-broker-3.5.3 spec/component_meta_spec.rb
alephant-broker-3.5.2 spec/component_meta_spec.rb
alephant-broker-3.5.1 spec/component_meta_spec.rb
alephant-broker-3.5.0 spec/component_meta_spec.rb