summaryrefslogtreecommitdiff
path: root/spec/node_spec.rb
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2016-07-28 10:34:03 +0300
committerGitHub <noreply@github.com>2016-07-28 10:34:03 +0300
commit7d0dba17675a9c432189ec50584f5f449801f7d7 (patch)
tree5004f4b3aec877c12903999242c400b2e198df84 /spec/node_spec.rb
parentc6246680d2cb524cba36d414411f6546224130e3 (diff)
parentb8f56e81dcc7696bb983cfc89a4829d28d4d638b (diff)
Merge pull request #513 from danilopopeye/512-fix-resolve_repo-crash
only resolve the repository path when the output is `git`
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