Commit 9e7d77cece06e48ac0f44ee808976ec6dcbff81d
1 parent
9d4d40de
Exists in
master
and in
4 other branches
Remove annotations from specs
Showing
13 changed files
with
0 additions
and
212 deletions
Show diff stats
spec/models/event_spec.rb
| 1 | -# == Schema Information | ||
| 2 | -# | ||
| 3 | -# Table name: events | ||
| 4 | -# | ||
| 5 | -# id :integer(4) not null, primary key | ||
| 6 | -# target_type :string(255) | ||
| 7 | -# target_id :integer(4) | ||
| 8 | -# title :string(255) | ||
| 9 | -# data :text | ||
| 10 | -# project_id :integer(4) | ||
| 11 | -# created_at :datetime not null | ||
| 12 | -# updated_at :datetime not null | ||
| 13 | -# action :integer(4) | ||
| 14 | -# author_id :integer(4) | ||
| 15 | -# | ||
| 16 | - | ||
| 17 | require 'spec_helper' | 1 | require 'spec_helper' |
| 18 | 2 | ||
| 19 | describe Event do | 3 | describe Event do |
spec/models/issue_spec.rb
| @@ -67,22 +67,3 @@ describe Issue do | @@ -67,22 +67,3 @@ describe Issue do | ||
| 67 | end | 67 | end |
| 68 | end | 68 | end |
| 69 | end | 69 | end |
| 70 | -# == Schema Information | ||
| 71 | -# | ||
| 72 | -# Table name: issues | ||
| 73 | -# | ||
| 74 | -# id :integer(4) not null, primary key | ||
| 75 | -# title :string(255) | ||
| 76 | -# assignee_id :integer(4) | ||
| 77 | -# author_id :integer(4) | ||
| 78 | -# project_id :integer(4) | ||
| 79 | -# created_at :datetime not null | ||
| 80 | -# updated_at :datetime not null | ||
| 81 | -# closed :boolean(1) default(FALSE), not null | ||
| 82 | -# position :integer(4) default(0) | ||
| 83 | -# critical :boolean(1) default(FALSE), not null | ||
| 84 | -# branch_name :string(255) | ||
| 85 | -# description :text | ||
| 86 | -# milestone_id :integer(4) | ||
| 87 | -# | ||
| 88 | - |
spec/models/key_spec.rb
| @@ -44,17 +44,3 @@ describe Key do | @@ -44,17 +44,3 @@ describe Key do | ||
| 44 | end | 44 | end |
| 45 | end | 45 | end |
| 46 | end | 46 | end |
| 47 | -# == Schema Information | ||
| 48 | -# | ||
| 49 | -# Table name: keys | ||
| 50 | -# | ||
| 51 | -# id :integer(4) not null, primary key | ||
| 52 | -# user_id :integer(4) | ||
| 53 | -# created_at :datetime not null | ||
| 54 | -# updated_at :datetime not null | ||
| 55 | -# key :text | ||
| 56 | -# title :string(255) | ||
| 57 | -# identifier :string(255) | ||
| 58 | -# project_id :integer(4) | ||
| 59 | -# | ||
| 60 | - |
spec/models/merge_request_spec.rb
| @@ -25,23 +25,3 @@ describe MergeRequest do | @@ -25,23 +25,3 @@ describe MergeRequest do | ||
| 25 | it { should include_module(Upvote) } | 25 | it { should include_module(Upvote) } |
| 26 | end | 26 | end |
| 27 | end | 27 | end |
| 28 | -# == Schema Information | ||
| 29 | -# | ||
| 30 | -# Table name: merge_requests | ||
| 31 | -# | ||
| 32 | -# id :integer(4) not null, primary key | ||
| 33 | -# target_branch :string(255) not null | ||
| 34 | -# source_branch :string(255) not null | ||
| 35 | -# project_id :integer(4) not null | ||
| 36 | -# author_id :integer(4) | ||
| 37 | -# assignee_id :integer(4) | ||
| 38 | -# title :string(255) | ||
| 39 | -# closed :boolean(1) default(FALSE), not null | ||
| 40 | -# created_at :datetime not null | ||
| 41 | -# updated_at :datetime not null | ||
| 42 | -# st_commits :text(2147483647 | ||
| 43 | -# st_diffs :text(2147483647 | ||
| 44 | -# merged :boolean(1) default(FALSE), not null | ||
| 45 | -# state :integer(4) default(1), not null | ||
| 46 | -# | ||
| 47 | - |
spec/models/milestone_spec.rb
| 1 | -# == Schema Information | ||
| 2 | -# | ||
| 3 | -# Table name: milestones | ||
| 4 | -# | ||
| 5 | -# id :integer(4) not null, primary key | ||
| 6 | -# title :string(255) not null | ||
| 7 | -# project_id :integer(4) not null | ||
| 8 | -# description :text | ||
| 9 | -# due_date :date | ||
| 10 | -# closed :boolean(1) default(FALSE), not null | ||
| 11 | -# created_at :datetime not null | ||
| 12 | -# updated_at :datetime not null | ||
| 13 | -# | ||
| 14 | - | ||
| 15 | require 'spec_helper' | 1 | require 'spec_helper' |
| 16 | 2 | ||
| 17 | describe Milestone do | 3 | describe Milestone do |
spec/models/note_spec.rb
| @@ -130,19 +130,3 @@ describe Note do | @@ -130,19 +130,3 @@ describe Note do | ||
| 130 | end | 130 | end |
| 131 | end | 131 | end |
| 132 | end | 132 | end |
| 133 | -# == Schema Information | ||
| 134 | -# | ||
| 135 | -# Table name: notes | ||
| 136 | -# | ||
| 137 | -# id :integer(4) not null, primary key | ||
| 138 | -# note :text | ||
| 139 | -# noteable_id :string(255) | ||
| 140 | -# noteable_type :string(255) | ||
| 141 | -# author_id :integer(4) | ||
| 142 | -# created_at :datetime not null | ||
| 143 | -# updated_at :datetime not null | ||
| 144 | -# project_id :integer(4) | ||
| 145 | -# attachment :string(255) | ||
| 146 | -# line_code :string(255) | ||
| 147 | -# | ||
| 148 | - |
spec/models/project_spec.rb
| @@ -236,23 +236,3 @@ describe Project do | @@ -236,23 +236,3 @@ describe Project do | ||
| 236 | end | 236 | end |
| 237 | end | 237 | end |
| 238 | end | 238 | end |
| 239 | -# == Schema Information | ||
| 240 | -# | ||
| 241 | -# Table name: projects | ||
| 242 | -# | ||
| 243 | -# id :integer(4) not null, primary key | ||
| 244 | -# name :string(255) | ||
| 245 | -# path :string(255) | ||
| 246 | -# description :text | ||
| 247 | -# created_at :datetime not null | ||
| 248 | -# updated_at :datetime not null | ||
| 249 | -# private_flag :boolean(1) default(TRUE), not null | ||
| 250 | -# code :string(255) | ||
| 251 | -# owner_id :integer(4) | ||
| 252 | -# default_branch :string(255) default("master"), not null | ||
| 253 | -# issues_enabled :boolean(1) default(TRUE), not null | ||
| 254 | -# wall_enabled :boolean(1) default(TRUE), not null | ||
| 255 | -# merge_requests_enabled :boolean(1) default(TRUE), not null | ||
| 256 | -# wiki_enabled :boolean(1) default(TRUE), not null | ||
| 257 | -# | ||
| 258 | - |
spec/models/protected_branch_spec.rb
| 1 | -# == Schema Information | ||
| 2 | -# | ||
| 3 | -# Table name: protected_branches | ||
| 4 | -# | ||
| 5 | -# id :integer(4) not null, primary key | ||
| 6 | -# project_id :integer(4) not null | ||
| 7 | -# name :string(255) not null | ||
| 8 | -# created_at :datetime not null | ||
| 9 | -# updated_at :datetime not null | ||
| 10 | -# | ||
| 11 | - | ||
| 12 | require 'spec_helper' | 1 | require 'spec_helper' |
| 13 | 2 | ||
| 14 | describe ProtectedBranch do | 3 | describe ProtectedBranch do |
spec/models/snippet_spec.rb
| @@ -14,18 +14,3 @@ describe Snippet do | @@ -14,18 +14,3 @@ describe Snippet do | ||
| 14 | it { should validate_presence_of(:content) } | 14 | it { should validate_presence_of(:content) } |
| 15 | end | 15 | end |
| 16 | end | 16 | end |
| 17 | -# == Schema Information | ||
| 18 | -# | ||
| 19 | -# Table name: snippets | ||
| 20 | -# | ||
| 21 | -# id :integer(4) not null, primary key | ||
| 22 | -# title :string(255) | ||
| 23 | -# content :text | ||
| 24 | -# author_id :integer(4) not null | ||
| 25 | -# project_id :integer(4) not null | ||
| 26 | -# created_at :datetime not null | ||
| 27 | -# updated_at :datetime not null | ||
| 28 | -# file_name :string(255) | ||
| 29 | -# expires_at :datetime | ||
| 30 | -# | ||
| 31 | - |
spec/models/user_spec.rb
| @@ -51,33 +51,3 @@ describe User do | @@ -51,33 +51,3 @@ describe User do | ||
| 51 | user.authentication_token.should_not == "" | 51 | user.authentication_token.should_not == "" |
| 52 | end | 52 | end |
| 53 | end | 53 | end |
| 54 | -# == Schema Information | ||
| 55 | -# | ||
| 56 | -# Table name: users | ||
| 57 | -# | ||
| 58 | -# id :integer(4) not null, primary key | ||
| 59 | -# email :string(255) default(""), not null | ||
| 60 | -# encrypted_password :string(128) default(""), not null | ||
| 61 | -# reset_password_token :string(255) | ||
| 62 | -# reset_password_sent_at :datetime | ||
| 63 | -# remember_created_at :datetime | ||
| 64 | -# sign_in_count :integer(4) default(0) | ||
| 65 | -# current_sign_in_at :datetime | ||
| 66 | -# last_sign_in_at :datetime | ||
| 67 | -# current_sign_in_ip :string(255) | ||
| 68 | -# last_sign_in_ip :string(255) | ||
| 69 | -# created_at :datetime not null | ||
| 70 | -# updated_at :datetime not null | ||
| 71 | -# name :string(255) | ||
| 72 | -# admin :boolean(1) default(FALSE), not null | ||
| 73 | -# projects_limit :integer(4) default(10) | ||
| 74 | -# skype :string(255) default(""), not null | ||
| 75 | -# linkedin :string(255) default(""), not null | ||
| 76 | -# twitter :string(255) default(""), not null | ||
| 77 | -# authentication_token :string(255) | ||
| 78 | -# dark_scheme :boolean(1) default(FALSE), not null | ||
| 79 | -# theme_id :integer(4) default(1), not null | ||
| 80 | -# bio :string(255) | ||
| 81 | -# blocked :boolean(1) default(FALSE), not null | ||
| 82 | -# | ||
| 83 | - |
spec/models/users_project_spec.rb
| @@ -16,15 +16,3 @@ describe UsersProject do | @@ -16,15 +16,3 @@ describe UsersProject do | ||
| 16 | it { should respond_to(:user_email) } | 16 | it { should respond_to(:user_email) } |
| 17 | end | 17 | end |
| 18 | end | 18 | end |
| 19 | -# == Schema Information | ||
| 20 | -# | ||
| 21 | -# Table name: users_projects | ||
| 22 | -# | ||
| 23 | -# id :integer(4) not null, primary key | ||
| 24 | -# user_id :integer(4) not null | ||
| 25 | -# project_id :integer(4) not null | ||
| 26 | -# created_at :datetime not null | ||
| 27 | -# updated_at :datetime not null | ||
| 28 | -# project_access :integer(4) default(0), not null | ||
| 29 | -# | ||
| 30 | - |
spec/models/web_hook_spec.rb
| @@ -52,14 +52,3 @@ describe ProjectHook do | @@ -52,14 +52,3 @@ describe ProjectHook do | ||
| 52 | end | 52 | end |
| 53 | end | 53 | end |
| 54 | end | 54 | end |
| 55 | -# == Schema Information | ||
| 56 | -# | ||
| 57 | -# Table name: web_hooks | ||
| 58 | -# | ||
| 59 | -# id :integer(4) not null, primary key | ||
| 60 | -# url :string(255) | ||
| 61 | -# project_id :integer(4) | ||
| 62 | -# created_at :datetime not null | ||
| 63 | -# updated_at :datetime not null | ||
| 64 | -# | ||
| 65 | - |
spec/models/wiki_spec.rb
| @@ -12,17 +12,3 @@ describe Wiki do | @@ -12,17 +12,3 @@ describe Wiki do | ||
| 12 | it { should validate_presence_of(:user_id) } | 12 | it { should validate_presence_of(:user_id) } |
| 13 | end | 13 | end |
| 14 | end | 14 | end |
| 15 | -# == Schema Information | ||
| 16 | -# | ||
| 17 | -# Table name: wikis | ||
| 18 | -# | ||
| 19 | -# id :integer(4) not null, primary key | ||
| 20 | -# title :string(255) | ||
| 21 | -# content :text | ||
| 22 | -# project_id :integer(4) | ||
| 23 | -# created_at :datetime not null | ||
| 24 | -# updated_at :datetime not null | ||
| 25 | -# slug :string(255) | ||
| 26 | -# user_id :integer(4) | ||
| 27 | -# | ||
| 28 | - |