diff options
Diffstat (limited to 'spec/lib')
-rw-r--r-- | spec/lib/project_mover_spec.rb | 2 | ||||
-rw-r--r-- | spec/lib/shell_spec.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/lib/project_mover_spec.rb b/spec/lib/project_mover_spec.rb index 28323b24ef6..9202befdcb2 100644 --- a/spec/lib/project_mover_spec.rb +++ b/spec/lib/project_mover_spec.rb @@ -7,7 +7,7 @@ describe Gitlab::ProjectMover do FileUtils.rm_rf base_path if File.exists? base_path FileUtils.mkdir_p base_path - Gitlab.config.gitolite.stub(repos_path: base_path) + Gitlab.config.gitlab_shell.stub(repos_path: base_path) @project = create(:project) end diff --git a/spec/lib/shell_spec.rb b/spec/lib/shell_spec.rb index 1c546e59235..3c04f4bbeb6 100644 --- a/spec/lib/shell_spec.rb +++ b/spec/lib/shell_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' describe Gitlab::Shell do let(:project) { double('Project', id: 7, path: 'diaspora') } - let(:gitolite) { Gitlab::Shell.new } + let(:gitlab_shell) { Gitlab::Shell.new } before do Project.stub(find: project) @@ -13,5 +13,5 @@ describe Gitlab::Shell do it { should respond_to :add_repository } it { should respond_to :remove_repository } - it { gitolite.url_to_repo('diaspora').should == Gitlab.config.gitolite.ssh_path_prefix + "diaspora.git" } + it { gitlab_shell.url_to_repo('diaspora').should == Gitlab.config.gitlab_shell.ssh_path_prefix + "diaspora.git" } end |