From 1985e84383540100d797579f88c6d1ce072e1463 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Fri, 11 May 2012 11:40:02 +0200 Subject: specs: Link adapt to non static way --- spec/link_spec.rb | 7 ++----- 1 file 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' -- cgit v1.1-2-g2b99