diff options
author | Jérémy <jeremy@asynk.ch> | 2012-05-10 21:25:43 +0200 |
---|---|---|
committer | Jérémy <jeremy@asynk.ch> | 2012-05-10 21:25:43 +0200 |
commit | 62a07e34c3af77fbe6735dc315bc0d28a3f891bc (patch) | |
tree | 2c8198f282c21f7d42cfa07543ede6652d9b721b /spec/particle_spec.rb | |
parent | 9b704b544d33ab3db45a3519bd25aa27c25d89ad (diff) | |
download | edoors-ruby-62a07e34c3af77fbe6735dc315bc0d28a3f891bc.zip edoors-ruby-62a07e34c3af77fbe6735dc315bc0d28a3f891bc.tar.gz |
specs: follow new Spin#clear! policy
Diffstat (limited to 'spec/particle_spec.rb')
-rw-r--r-- | spec/particle_spec.rb | 5 |
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 |