aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models/profile_photo_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/profile_photo_spec.rb
parenta23be37bb6b4c4991766e1ed0f9cd0922c8db3a7 (diff)
Re-annotate models with database fields
Diffstat (limited to 'spec/models/profile_photo_spec.rb')
-rw-r--r--spec/models/profile_photo_spec.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/models/profile_photo_spec.rb b/spec/models/profile_photo_spec.rb
index 892cccd08..0e157e2c5 100644
--- a/spec/models/profile_photo_spec.rb
+++ b/spec/models/profile_photo_spec.rb
@@ -1,3 +1,13 @@
+# == Schema Information
+#
+# Table name: profile_photos
+#
+# id :integer not null, primary key
+# data :binary not null
+# user_id :integer
+# draft :boolean default(FALSE), not null
+#
+
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
describe ProfilePhoto, "when constructing a new photo" do