spec/timeout_spec.rb in timers-3.0.0.pre vs spec/timeout_spec.rb in timers-3.0.0
- old
+ new
@@ -1,9 +1,9 @@
require 'spec_helper'
require 'timers/timeout'
-describe Timers::Timeout do
+RSpec.describe Timers::Timeout do
it "repeats until timeout expired" do
timeout = Timers::Timeout.new(5)
count = 0
timeout.while_time_remaining do |remaining|