summaryrefslogtreecommitdiff
path: root/app/models/address.rb
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-03-25 00:10:33 -0600
committerHombreLaser <sebastian-440@live.com>2023-03-25 00:10:33 -0600
commit7265af094ed16c36632128bccdcf84a3796c2359 (patch)
tree6d4f49752e0256b7c5ef2fc3e7db917be67db7bf /app/models/address.rb
parent76d44f91efab14dc0eeb84e83a77a85a7bb7fd74 (diff)
Añade specs de addresscontroller
Diffstat (limited to 'app/models/address.rb')
-rw-r--r--app/models/address.rb2
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