summaryrefslogtreecommitdiffstats
path: root/spec/particle_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/particle_spec.rb')
-rw-r--r--spec/particle_spec.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/particle_spec.rb b/spec/particle_spec.rb
index 41ef9a2..8c48cd1 100644
--- a/spec/particle_spec.rb
+++ b/spec/particle_spec.rb
@@ -6,6 +6,10 @@ require 'spec_helper'
#
describe EvenDoors::Particle do
#
+ before(:each) do
+ EvenDoors::Spin.clear!
+ end
+ #
it "payload manipulation" do
p = EvenDoors::Particle.new
#
@@ -184,7 +188,6 @@ describe EvenDoors::Particle do
end
#
it "json from to should work" do
- EvenDoors::Spin.spin = nil
s0 = EvenDoors::Spin.new 'top'
s1 = EvenDoors::Room.new 'room0', s0
s2 = EvenDoors::Room.new 'room1', s1