diff --git a/spec/lib/phony_rails_spec.rb b/spec/lib/phony_rails_spec.rb index ca73c27..185efea 100644 --- a/spec/lib/phony_rails_spec.rb +++ b/spec/lib/phony_rails_spec.rb @@ -249,9 +249,9 @@ class NormalHome < ActiveRecord::Base it 'should pass Github issue #180' do phone = '5555555555' - phone = PhonyRails.normalize_number(phone, default_country_code: 'AU') + phone = PhonyRails.normalize_number(phone, default_country_code: 'AU', country_code: 'AU') expect(phone).to eq('+615555555555') - phone = PhonyRails.normalize_number(phone, default_country_code: 'AU') + phone = PhonyRails.normalize_number(phone, default_country_code: 'AU', country_code: 'AU') expect(phone).to eq('+615555555555') end end