aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models/foi_attachment_spec.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-07-31 15:34:12 +0100
committerLouise Crow <louise.crow@gmail.com>2013-09-16 12:12:29 +0100
commit136cf239bfa0230d33d741aa4b31c0291f20fe10 (patch)
tree7c92e8ba5b3e8e817354d3c5fdd3fc891157e64d /spec/models/foi_attachment_spec.rb
parenta23be37bb6b4c4991766e1ed0f9cd0922c8db3a7 (diff)
Re-annotate models with database fields
Diffstat (limited to 'spec/models/foi_attachment_spec.rb')
-rw-r--r--spec/models/foi_attachment_spec.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/spec/models/foi_attachment_spec.rb b/spec/models/foi_attachment_spec.rb
index 9b0115c44..882723d1e 100644
--- a/spec/models/foi_attachment_spec.rb
+++ b/spec/models/foi_attachment_spec.rb
@@ -1,3 +1,18 @@
+# == Schema Information
+#
+# Table name: foi_attachments
+#
+# id :integer not null, primary key
+# content_type :text
+# filename :text
+# charset :text
+# display_size :text
+# url_part_number :integer
+# within_rfc822_subject :text
+# incoming_message_id :integer
+# hexdigest :string(32)
+#
+
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
describe FoiAttachment do