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.4.1 spec/component_meta_spec.rb
alephant-broker-3.4.0 spec/component_meta_spec.rb
alephant-broker-3.3.2 spec/component_meta_spec.rb
alephant-broker-3.3.1 spec/component_meta_spec.rb
alephant-broker-3.3.0 spec/component_meta_spec.rb
alephant-broker-3.2.0 spec/component_meta_spec.rb
alephant-broker-3.1.1 spec/component_meta_spec.rb
alephant-broker-3.1.0 spec/component_meta_spec.rb
alephant-broker-3.0.1 spec/component_meta_spec.rb
alephant-broker-3.0.0 spec/component_meta_spec.rb
alephant-broker-2.1.3 spec/component_meta_spec.rb
alephant-broker-2.1.2 spec/component_meta_spec.rb