Sha256: 1c9a53e0b92e7d7d5f89b70c625c067f8ba29a0e41a302537c25e6bb9db78f9c
Contents?: true
Size: 408 Bytes
Versions: 26
Compression:
Stored size: 408 Bytes
Contents
describe Moneta::Api::Types::Profile::Client do let(:params) do { unitid: 1 } end let(:attributes_hash) { described_class.build(params).to_hash } subject { attributes_hash } its(['attribute']) { is_expected.to be_a Array } describe 'attribute' do subject { attributes_hash['attribute'] } its(:first) { is_expected.to eq({ 'key' => 'UNITID', 'value' => 1 }) } end end
Version data entries
26 entries across 26 versions & 1 rubygems