summaryrefslogtreecommitdiff
path: root/spec/node_spec.rb
diff options
context:
space:
mode:
authorDanilo Sousa <dsgoncalves@uoldiveo.com>2016-07-26 13:37:29 -0300
committerDanilo Sousa <dsgoncalves@uoldiveo.com>2016-07-26 13:37:29 -0300
commitb8f56e81dcc7696bb983cfc89a4829d28d4d638b (patch)
tree5004f4b3aec877c12903999242c400b2e198df84 /spec/node_spec.rb
parentc6246680d2cb524cba36d414411f6546224130e3 (diff)
only resolve the repository path when the output is `git` fixes #512
Diffstat (limited to 'spec/node_spec.rb')
-rw-r--r--spec/node_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/node_spec.rb b/spec/node_spec.rb
index 5cb5216..829e05a 100644
--- a/spec/node_spec.rb
+++ b/spec/node_spec.rb
@@ -46,6 +46,7 @@ describe Oxidized::Node do
describe '#repo' do
before do
+ Oxidized.config.output.default = 'git'
Oxidized::Node.any_instance.unstub(:resolve_repo)
end