Sha256: e4d0dd68c697c36e158ab12aae8caf35ec194b58f670c5941182248c6e3aa8ce
Contents?: true
Size: 460 Bytes
Versions: 3
Compression:
Stored size: 460 Bytes
Contents
require_relative '../../lib/mangopay/model/birthplace' shared_context 'birthplace_context' do let(:birthplace_data) { build_birthplace } end def build_birthplace birthplace = MangoModel::Birthplace.new birthplace.city = 'Brasov' birthplace.country = MangoModel::CountryIso::RO birthplace end def its_the_same_birthplace(birthplace1, birthplace2) birthplace1.city == birthplace2.city\ && birthplace1.country.eql?(birthplace2.country) end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mangopay-v4-4.1.0 | spec/context/birthplace_context.rb |
mangopay-v4-4.0.2 | spec/context/birthplace_context.rb |
mangopay-v4-4.0.1 | spec/context/birthplace_context.rb |