diff options
author | Stan Hu <stanhu@gmail.com> | 2015-09-06 17:48:48 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-09-06 17:48:48 +0300 |
commit | d7812a95cf518dfa1565a0514b87fb40f86949e5 (patch) | |
tree | c75bfbe54a1defbec2bdcb9626ab3c1c5a09fd06 /spec/factories | |
parent | 50f76ae0eae29f7362702da274055f76a350ee6f (diff) |
Re-annotate models
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/abuse_reports.rb | 12 | ||||
-rw-r--r-- | spec/factories/merge_requests.rb | 1 | ||||
-rw-r--r-- | spec/factories/notes.rb | 1 |
3 files changed, 14 insertions, 0 deletions
diff --git a/spec/factories/abuse_reports.rb b/spec/factories/abuse_reports.rb index 29fcbc5e197..8d287ded292 100644 --- a/spec/factories/abuse_reports.rb +++ b/spec/factories/abuse_reports.rb @@ -1,3 +1,15 @@ +# == Schema Information +# +# Table name: abuse_reports +# +# id :integer not null, primary key +# reporter_id :integer +# user_id :integer +# message :text +# created_at :datetime +# updated_at :datetime +# + # Read about factories at https://github.com/thoughtbot/factory_girl FactoryGirl.define do diff --git a/spec/factories/merge_requests.rb b/spec/factories/merge_requests.rb index 3b7adfe4398..6080d0ccdef 100644 --- a/spec/factories/merge_requests.rb +++ b/spec/factories/merge_requests.rb @@ -19,6 +19,7 @@ # description :text # position :integer default(0) # locked_at :datetime +# updated_by_id :integer # FactoryGirl.define do diff --git a/spec/factories/notes.rb b/spec/factories/notes.rb index e1009d5916e..9d777ddfccd 100644 --- a/spec/factories/notes.rb +++ b/spec/factories/notes.rb @@ -15,6 +15,7 @@ # noteable_id :integer # system :boolean default(FALSE), not null # st_diff :text +# updated_by_id :integer # require_relative '../support/repo_helpers' |