Split gitolite backend. Use gitolite_config methods moved to separate class

This commit is contained in:
Dmitriy Zaporozhets 2012-09-07 08:16:29 +03:00
parent 137594dd08
commit 79021e674b
7 changed files with 241 additions and 186 deletions

View file

@ -0,0 +1,16 @@
require 'spec_helper'
describe Gitlab::GitoliteConfig do
let(:gitolite) { Gitlab::GitoliteConfig.new }
it { should respond_to :write_key }
it { should respond_to :rm_key }
it { should respond_to :update_project }
it { should respond_to :update_project! }
it { should respond_to :update_projects }
it { should respond_to :destroy_project }
it { should respond_to :destroy_project! }
it { should respond_to :apply }
it { should respond_to :admin_all_repo }
it { should respond_to :admin_all_repo! }
end