diff options
author | ytti <saku@ytti.fi> | 2016-07-22 13:18:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-22 13:18:14 +0200 |
commit | dd6f5df411a3ba0e9158d6c1fc5293aa53c47a29 (patch) | |
tree | a3ea3f5c90449c239ee033f71232b1f1f85fe0ae /spec/nodes_spec.rb | |
parent | 63b1bd788e0807f935e0a69c0e3589f9c041206c (diff) | |
parent | de2a9d18a5847439b40adfc0cc4c75e6cbf6262d (diff) |
Merge pull request #503 from danilopopeye/ds-fixes-and-refactors
fix repository path resolution
Diffstat (limited to 'spec/nodes_spec.rb')
-rw-r--r-- | spec/nodes_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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)) } |