summaryrefslogtreecommitdiff
path: root/spec/nodes_spec.rb
diff options
context:
space:
mode:
authorElvin Efendi <elvin.efendiyev@gmail.com>2016-06-02 22:34:19 +0200
committerElvin Efendi <elvin.efendiyev@gmail.com>2016-06-02 22:34:19 +0200
commit7000d42b8634396b518568939bb1f6ac9e49e4d3 (patch)
tree0ec7c2f2dd6bd3132d3f5cd9654938dc86363ec3 /spec/nodes_spec.rb
parent684f9b60fc6ffcc028081304de9c70cae793095f (diff)
fix specs
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',