diff options
author | HombreLaser <sebastian-440@live.com> | 2023-03-25 00:10:33 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2023-03-25 00:10:33 -0600 |
commit | 7265af094ed16c36632128bccdcf84a3796c2359 (patch) | |
tree | 6d4f49752e0256b7c5ef2fc3e7db917be67db7bf /app/models | |
parent | 76d44f91efab14dc0eeb84e83a77a85a7bb7fd74 (diff) |
Añade specs de addresscontroller
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/address.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/address.rb b/app/models/address.rb index 6d542ab..6986dd4 100644 --- a/app/models/address.rb +++ b/app/models/address.rb @@ -21,6 +21,6 @@ class Address < ApplicationRecord def valid_country return if ISO3166::Country.codes.include?(country) - errors.add(:country, 'Invalid country') + errors.add(:country, 'is invalid') end end |