From de2a9d18a5847439b40adfc0cc4c75e6cbf6262d Mon Sep 17 00:00:00 2001 From: Danilo Sousa Date: Wed, 20 Jul 2016 07:00:31 -0300 Subject: fixed the #fetch and #verions web problems apart from the refactorings, now the node path its correct even when groups are used --- spec/nodes_spec.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'spec/nodes_spec.rb') diff --git a/spec/nodes_spec.rb b/spec/nodes_spec.rb index 4560bdb..6fa4b41 100644 --- a/spec/nodes_spec.rb +++ b/spec/nodes_spec.rb @@ -15,6 +15,7 @@ describe Oxidized::Nodes do prompt: 'test_prompt' } + Oxidized::Node.any_instance.stubs(:resolve_repo) Oxidized::Node.any_instance.stubs(:resolve_output) @nodes_org = %w(ltt-pe1.hel kes2-rr1.tku tor-peer1.oul hal-p2.tre sav-gr1-sw1.kuo psl-sec-pe1.hel).map { |e| Oxidized::Node.new(opts.merge(name: e)) } -- cgit v1.2.1