summaryrefslogtreecommitdiff
path: root/spec/nodes_spec.rb
diff options
context:
space:
mode:
authorElvin Efendi <elvin.efendiyev@gmail.com>2016-06-02 23:53:29 +0200
committerElvin Efendi <elvin.efendiyev@gmail.com>2016-06-02 23:53:29 +0200
commitaef81bd14989797d26d349fdf1a517045f5af33c (patch)
treedb194c27c1fa4c8542a048e4afd8dcb0793acb27 /spec/nodes_spec.rb
parent779f20dd18a361b5bde51f3f11c6d048efe100a0 (diff)
parent64bdbeb673a8ab7155478ee5e0d1d58c1631a9d3 (diff)
Merge pull request #25 from Shopify/debug-statements
Debug statements
Diffstat (limited to 'spec/nodes_spec.rb')
-rw-r--r--spec/nodes_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/nodes_spec.rb b/spec/nodes_spec.rb
index 5f2ef95..4560bdb 100644
--- a/spec/nodes_spec.rb
+++ b/spec/nodes_spec.rb
@@ -3,7 +3,9 @@ require 'spec_helper'
describe Oxidized::Nodes do
before(:each) do
Resolv.any_instance.stubs(:getaddress)
- Oxidized.stubs(:asetus).returns(Asetus.new)
+ Oxidized.asetus = Asetus.new
+ Oxidized.setup_logger
+
opts = {
input: 'ssh',
output: 'git',