aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models/track_thing_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/track_thing_spec.rb
parenta23be37bb6b4c4991766e1ed0f9cd0922c8db3a7 (diff)
Re-annotate models with database fields
Diffstat (limited to 'spec/models/track_thing_spec.rb')
-rw-r--r--spec/models/track_thing_spec.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/spec/models/track_thing_spec.rb b/spec/models/track_thing_spec.rb
index c42eb5e8b..86d3c0cda 100644
--- a/spec/models/track_thing_spec.rb
+++ b/spec/models/track_thing_spec.rb
@@ -1,3 +1,19 @@
+# == Schema Information
+#
+# Table name: track_things
+#
+# id :integer not null, primary key
+# tracking_user_id :integer not null
+# track_query :string(255) not null
+# info_request_id :integer
+# tracked_user_id :integer
+# public_body_id :integer
+# track_medium :string(255) not null
+# track_type :string(255) default("internal_error"), not null
+# created_at :datetime
+# updated_at :datetime
+#
+
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
describe TrackThing, "when tracking changes" do