summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorgitlabhq <m@gitlabhq.com>2011-10-17 18:31:21 +0300
committergitlabhq <m@gitlabhq.com>2011-10-17 18:31:21 +0300
commitd03f2687c596b5a2453e0e27918dd0628682a785 (patch)
tree3533ac606bbf2d1930601f448bdc0af37fa11b92 /spec
parent783ca8979652085e2708cf3e020f3f83349dedb2 (diff)
downloadgitlab-ce-d03f2687c596b5a2453e0e27918dd0628682a785.tar.gz
annotated
Diffstat (limited to 'spec')
-rw-r--r--spec/models/issue_spec.rb1
-rw-r--r--spec/models/snippet_spec.rb14
2 files changed, 15 insertions, 0 deletions
diff --git a/spec/models/issue_spec.rb b/spec/models/issue_spec.rb
index 23609023c50..b2d594c904d 100644
--- a/spec/models/issue_spec.rb
+++ b/spec/models/issue_spec.rb
@@ -38,5 +38,6 @@ end
# created_at :datetime
# updated_at :datetime
# closed :boolean default(FALSE), not null
+# position :integer default(0)
#
diff --git a/spec/models/snippet_spec.rb b/spec/models/snippet_spec.rb
index 2a63584e429..9dab72ca7dc 100644
--- a/spec/models/snippet_spec.rb
+++ b/spec/models/snippet_spec.rb
@@ -14,3 +14,17 @@ describe Snippet do
it { should validate_presence_of(:content) }
end
end
+# == Schema Information
+#
+# Table name: snippets
+#
+# id :integer not null, primary key
+# title :string(255)
+# content :text
+# author_id :integer not null
+# project_id :integer not null
+# created_at :datetime
+# updated_at :datetime
+# file_name :string(255)
+#
+