summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/link_spec.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/spec/link_spec.rb b/spec/link_spec.rb
index 9ad728e..abfa162 100644
--- a/spec/link_spec.rb
+++ b/spec/link_spec.rb
@@ -6,12 +6,9 @@ require 'spec_helper'
#
describe EvenDoors::Link do
#
- before(:each) do
- EvenDoors::Spin.clear!
- end
- #
it "from particle data" do
- p = EvenDoors::Spin.require_p EvenDoors::Particle
+ @spin = EvenDoors::Spin.new 'dom0'
+ p = @spin.require_p EvenDoors::Particle
p.set_data EvenDoors::LNK_SRC, 'input1'
p.set_data EvenDoors::LNK_DSTS, 'concat1?follow,output1'
p.set_data EvenDoors::LNK_FIELDS, 'f0,f2'