Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2011-12-05 11:43:53 +0400
committerDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2011-12-05 11:43:53 +0400
commitbdc658095c6bc7e7a2a49447b404156f3f947fe1 (patch)
tree4458e4804b0e5b21807ca16e4ade1d3211f5f404 /spec/models
parent8134fe0efe287f6512b7684d4c654b2d43f3df9d (diff)
refcatoring. cleaning after gitosis
Diffstat (limited to 'spec/models')
-rw-r--r--spec/models/project_spec.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/models/project_spec.rb b/spec/models/project_spec.rb
index cde1884a987..eda20a0c011 100644
--- a/spec/models/project_spec.rb
+++ b/spec/models/project_spec.rb
@@ -18,12 +18,12 @@ describe Project do
describe "Respond to" do
it { should respond_to(:readers) }
it { should respond_to(:writers) }
- it { should respond_to(:gitosis_writers) }
+ it { should respond_to(:repository_writers) }
it { should respond_to(:admins) }
it { should respond_to(:add_access) }
it { should respond_to(:reset_access) }
- it { should respond_to(:update_gitosis_project) }
- it { should respond_to(:destroy_gitosis_project) }
+ it { should respond_to(:update_repository) }
+ it { should respond_to(:destroy_repository) }
it { should respond_to(:public?) }
it { should respond_to(:private?) }
it { should respond_to(:url_to_repo) }
@@ -35,9 +35,9 @@ describe Project do
it { should respond_to(:commit) }
end
- it "should not allow 'gitosis-admin' as repo name" do
+ it "should not allow 'gitolite-admin' as repo name" do
should allow_value("blah").for(:path)
- should_not allow_value("gitosis-admin").for(:path)
+ should_not allow_value("gitolite-admin").for(:path)
end
it "should return valid url to repo" do