summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-11 11:40:02 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-12 09:38:01 +0200
commit1985e84383540100d797579f88c6d1ce072e1463 (patch)
tree1bd0b5c31d04f606feed39c47413229581502965 /spec
parentb9160ad15d6efadb6f67e9b0cd13e4ab4ec69a48 (diff)
downloadedoors-ruby-1985e84383540100d797579f88c6d1ce072e1463.zip
edoors-ruby-1985e84383540100d797579f88c6d1ce072e1463.tar.gz
specs: Link adapt to non static way
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'