Sha256: 1fe7013be44a6900f4499f74204f6c10565b7be0d2948c8e141625a318b4f96f

Contents?: true

Size: 580 Bytes

Versions: 3

Compression:

Stored size: 580 Bytes

Contents

shared_examples 'Unidom::Contact::China::Concerns::AsMobilePhoneNumberSubscriber' do |model_attributes|

  context do

    it_behaves_like 'Unidom::Contact::Concerns::AsSubscriber', model_attributes

=begin
    mobile_phone_number_1_attributes = {
      phone_number: '13901020304'
    }
    mobile_phone_number_2_attributes = {
      phone_number: '13904030201'
    }

    it_behaves_like 'has_many', model_attributes, :china_mobile_phone_numbers, Unidom::Contact::China::MobilePhoneNumber, [ mobile_phone_number_1_attributes, mobile_phone_number_2_attributes ]
=end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
unidom-contact-china-2.0 lib/rspec/models/unidom/contact/china/concerns/as_mobile_phone_number_subscriber_shared_examples.rb
unidom-contact-china-1.1.7 lib/rspec/models/unidom/contact/china/concerns/as_mobile_phone_number_subscriber_shared_examples.rb
unidom-contact-china-1.1.6 lib/rspec/models/unidom/contact/china/concerns/as_mobile_phone_number_subscriber_shared_examples.rb