aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/notification.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/notification.rb')
-rw-r--r--activerecord/test/models/notification.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/models/notification.rb b/activerecord/test/models/notification.rb
index b4b4b8f1b6..82edc64b68 100644
--- a/activerecord/test/models/notification.rb
+++ b/activerecord/test/models/notification.rb
@@ -1,2 +1,3 @@
class Notification < ActiveRecord::Base
+ validates_presence_of :message
end