aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models/info_request_batch_spec.rb
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2014-04-08 16:19:28 +0100
committerGareth Rees <gareth@mysociety.org>2014-04-09 11:02:25 +0100
commitaabf6e5967bf24f47c8c25d638ab8ba2c2db5968 (patch)
treee14d8248e15dbc194fbc2972079e4f1f8a56f878 /spec/models/info_request_batch_spec.rb
parentba8365ab57df349e9c9dafe223548bd2efab515d (diff)
Annotate models
Should have been run after related migrations. Could automate this to always run after migrations.
Diffstat (limited to 'spec/models/info_request_batch_spec.rb')
-rw-r--r--spec/models/info_request_batch_spec.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/models/info_request_batch_spec.rb b/spec/models/info_request_batch_spec.rb
index 53158ebe2..2881e7745 100644
--- a/spec/models/info_request_batch_spec.rb
+++ b/spec/models/info_request_batch_spec.rb
@@ -1,3 +1,16 @@
+# == Schema Information
+#
+# Table name: info_request_batches
+#
+# id :integer not null, primary key
+# title :text not null
+# user_id :integer not null
+# created_at :datetime not null
+# updated_at :datetime not null
+# body :text
+# sent_at :datetime
+#
+
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
describe InfoRequestBatch, "when validating" do