test/configuration_test.rb in gitdocs-0.5.0.pre1 vs test/configuration_test.rb in gitdocs-0.5.0.pre2
- old
+ new
@@ -1,8 +1,10 @@
require File.expand_path('../test_helper', __FILE__)
+
describe 'gitdocs configuration' do
before do
+ ENV['TEST'] = 'true'
ShellTools.capture { @config = Gitdocs::Configuration.new('/tmp/gitdocs') }
end
it 'has sensible default config root' do
assert_equal '/tmp/gitdocs', @config.config_root