aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures/reply.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/fixtures/reply.rb')
-rw-r--r--actionpack/test/fixtures/reply.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/actionpack/test/fixtures/reply.rb b/actionpack/test/fixtures/reply.rb
new file mode 100644
index 0000000000..ea84042b9a
--- /dev/null
+++ b/actionpack/test/fixtures/reply.rb
@@ -0,0 +1,5 @@
+class Reply < ActiveRecord::Base
+ belongs_to :topic, :include => [:replies]
+
+ validates_presence_of :content
+end