spec/gitolite_admin_spec.rb in gitolite-rugged-1.2.1.pre.devel vs spec/gitolite_admin_spec.rb in gitolite-rugged-1.2.2
- old
+ new
@@ -3,10 +3,10 @@
describe Gitolite::GitoliteAdmin do
conf_dir = File.join(File.dirname(__FILE__), 'fixtures', 'configs')
repo_dir = File.join(File.dirname(__FILE__), 'fixtures', 'gitolite-admin')
# Rugged doesn't complain when giving nil keys for testing
- settings = {private_key: nil, public_key: nil}
+ settings = {private_key: nil, public_key: nil, update_on_init: false}
describe '#is_gitolite_admin_repo?' do
it 'should detect a non gitolite-admin repository' do
expect(GitoliteAdmin.is_gitolite_admin_repo?('/tmp')).to be false
end