Sha256: d08f223999922111541f7a869cc527e9ccd6af0e34f24a785601c71cfed67ac0
Contents?: true
Size: 682 Bytes
Versions: 1
Compression:
Stored size: 682 Bytes
Contents
require 'spec_helper' describe GitHandler::Configuration do it 'has default settings' do config = GitHandler::Configuration.new config.user.should eq('git') config.home_path.should eq('/home/git') config.repos_path.should eq('/home/git/repositories') config.log_path.should eq('/home/git/access.log') config.raise_errors.should be_true config.log.should be_true end it 'should disable error checks' do config = GitHandler::Configuration.new(:raise_errors => false) config.raise_errors.should be_false end it 'should disable logger' do config = GitHandler::Configuration.new(:log => false) config.log.should be_false end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
git_handler-0.2.2 | spec/configuration_spec.rb |