summaryrefslogtreecommitdiffstats
path: root/spec/link_spec.rb
diff options
context:
space:
mode:
authorJérémy <jeremy@asynk.ch>2012-05-10 21:25:43 +0200
committerJérémy <jeremy@asynk.ch>2012-05-10 21:25:43 +0200
commit62a07e34c3af77fbe6735dc315bc0d28a3f891bc (patch)
tree2c8198f282c21f7d42cfa07543ede6652d9b721b /spec/link_spec.rb
parent9b704b544d33ab3db45a3519bd25aa27c25d89ad (diff)
downloadedoors-ruby-62a07e34c3af77fbe6735dc315bc0d28a3f891bc.zip
edoors-ruby-62a07e34c3af77fbe6735dc315bc0d28a3f891bc.tar.gz
specs: follow new Spin#clear! policy
Diffstat (limited to 'spec/link_spec.rb')
-rw-r--r--spec/link_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/link_spec.rb b/spec/link_spec.rb
index fe53cf0..29ecd92 100644
--- a/spec/link_spec.rb
+++ b/spec/link_spec.rb
@@ -6,6 +6,10 @@ 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
p.set_data EvenDoors::LNK_SRC, 'input1'