summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-24 22:16:51 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-24 22:16:51 +0200
commit65c470e84396a9db4b697a45128ce8d28c612d7c (patch)
tree3637f47ee24f1945a1e70cd2fc13b9a1ca18a88b /spec
parent3f1d6d6ab3a7e1b2bbbae7dcd17edc884f9fbf07 (diff)
downloadgitlab-ce-65c470e84396a9db4b697a45128ce8d28c612d7c.tar.gz
Reannotated
Diffstat (limited to 'spec')
-rw-r--r--spec/models/group_spec.rb5
-rw-r--r--spec/models/namespace_spec.rb13
-rw-r--r--spec/models/project_spec.rb3
-rw-r--r--spec/models/user_spec.rb1
-rw-r--r--spec/support/namespaces_stub.rb4
5 files changed, 22 insertions, 4 deletions
diff --git a/spec/models/group_spec.rb b/spec/models/group_spec.rb
index 3a748b88d18..80583243a2f 100644
--- a/spec/models/group_spec.rb
+++ b/spec/models/group_spec.rb
@@ -1,13 +1,14 @@
# == Schema Information
#
-# Table name: groups
+# Table name: namespaces
#
# id :integer not null, primary key
# name :string(255) not null
-# code :string(255) not null
+# path :string(255) not null
# owner_id :integer not null
# created_at :datetime not null
# updated_at :datetime not null
+# type :string(255)
#
require 'spec_helper'
diff --git a/spec/models/namespace_spec.rb b/spec/models/namespace_spec.rb
index f481363f90d..c2509d21f3f 100644
--- a/spec/models/namespace_spec.rb
+++ b/spec/models/namespace_spec.rb
@@ -1,3 +1,16 @@
+# == Schema Information
+#
+# Table name: namespaces
+#
+# id :integer not null, primary key
+# name :string(255) not null
+# path :string(255) not null
+# owner_id :integer not null
+# created_at :datetime not null
+# updated_at :datetime not null
+# type :string(255)
+#
+
require 'spec_helper'
describe Namespace do
diff --git a/spec/models/project_spec.rb b/spec/models/project_spec.rb
index 74c0aed6634..4fb5f50c98a 100644
--- a/spec/models/project_spec.rb
+++ b/spec/models/project_spec.rb
@@ -9,14 +9,13 @@
# created_at :datetime not null
# updated_at :datetime not null
# private_flag :boolean default(TRUE), not null
-# code :string(255)
# owner_id :integer
# default_branch :string(255)
# issues_enabled :boolean default(TRUE), not null
# wall_enabled :boolean default(TRUE), not null
# merge_requests_enabled :boolean default(TRUE), not null
# wiki_enabled :boolean default(TRUE), not null
-# group_id :integer
+# namespace_id :integer
#
require 'spec_helper'
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb
index 3a87499ba22..13fa4d1333d 100644
--- a/spec/models/user_spec.rb
+++ b/spec/models/user_spec.rb
@@ -30,6 +30,7 @@
# locked_at :datetime
# extern_uid :string(255)
# provider :string(255)
+# username :string(255)
#
require 'spec_helper'
diff --git a/spec/support/namespaces_stub.rb b/spec/support/namespaces_stub.rb
index 35754f56e83..9cf99467850 100644
--- a/spec/support/namespaces_stub.rb
+++ b/spec/support/namespaces_stub.rb
@@ -5,6 +5,10 @@ class Namespace
def ensure_dir_exist
true
end
+
+ def move_dir
+ true
+ end
end
class Gitlab::ProjectMover