diff options
-rw-r--r-- | lib/edoors/spin.rb | 2 | ||||
-rw-r--r-- | spec/spin_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/edoors/spin.rb b/lib/edoors/spin.rb index 7efacf1..ec86d9f 100644 --- a/lib/edoors/spin.rb +++ b/lib/edoors/spin.rb @@ -225,7 +225,7 @@ module Edoors # # stops the spinning # - def stop! + def stop_spinning! @run=false end # diff --git a/spec/spin_spec.rb b/spec/spin_spec.rb index 9c2e2ea..78f7f87 100644 --- a/spec/spin_spec.rb +++ b/spec/spin_spec.rb @@ -70,7 +70,7 @@ describe Edoors::Spin do spin.spin! f.p.should be p0 f.sp.should be p1 - spin.stop! + spin.stop_spinning! end # it "process_sys" do |