Sha256: 9b71e7654526b12c5ba49858c06f3d89153a1f9984575c72fa853516b6e21eec

Contents?: true

Size: 410 Bytes

Versions: 11

Compression:

Stored size: 410 Bytes

Contents

require "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

11 entries across 11 versions & 1 rubygems

Version Path
alephant-broker-3.19.1 spec/alephant/broker/component_meta_spec.rb
alephant-broker-3.19.0 spec/alephant/broker/component_meta_spec.rb
alephant-broker-3.18.0 spec/alephant/broker/component_meta_spec.rb
alephant-broker-3.17.0 spec/alephant/broker/component_meta_spec.rb
alephant-broker-3.16.2 spec/alephant/broker/component_meta_spec.rb
alephant-broker-3.16.1 spec/alephant/broker/component_meta_spec.rb
alephant-broker-3.16.0 spec/alephant/broker/component_meta_spec.rb
alephant-broker-3.15.2 spec/alephant/broker/component_meta_spec.rb
alephant-broker-3.15.1 spec/alephant/broker/component_meta_spec.rb
alephant-broker-3.15.0 spec/alephant/broker/component_meta_spec.rb
alephant-broker-3.14.0 spec/alephant/broker/component_meta_spec.rb