Sha256: 05160a733df3478177b113b6cfe78309d9f1c2bb062f55cd375b7c076343b624

Contents?: true

Size: 589 Bytes

Versions: 1

Compression:

Stored size: 589 Bytes

Contents

describe Unidom::Price::Price, type: :model do

  before :each do
  end

  after :each do
  end

  context do

    model_attributes = {
      priced_id:        SecureRandom.uuid,
      priced_type:      'Unidom::Price::Priced::Mock',
      pricer_id:        SecureRandom.uuid,
      pricer_type:      'Unidom::Price::Pricer::Mock',
      calculation_code: 'AMNT',
      pricing_code:     'BASE',
      charging_code:    'ONCE',
      currency_code:    'RMB',
      amount:           10.00
    }

    it_behaves_like 'Unidom::Common::Concerns::ModelExtension', model_attributes

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
unidom-price-1.7 lib/rspec/models/unidom/price/price_spec.rb