test/configuration_test.rb in gitdocs-0.3.2 vs test/configuration_test.rb in gitdocs-0.3.3
- old
+ new
@@ -1,9 +1,9 @@
require File.expand_path('../test_helper', __FILE__)
describe "gitdocs configuration" do
before do
- capture_out { @config = Gitdocs::Configuration.new("/tmp/gitdocs") }
+ ShellTools.capture { @config = Gitdocs::Configuration.new("/tmp/gitdocs") }
end
it "has sensible default config root" do
assert_equal "/tmp/gitdocs", @config.config_root
end
\ No newline at end of file