spec/models/rspeed/observer/before_spec.rb in rspeed-0.4.0 vs spec/models/rspeed/observer/before_spec.rb in rspeed-0.5.0
- old
+ new
@@ -1,8 +1,6 @@
# frozen_string_literal: true
-require 'rails_helper'
-
RSpec.describe RSpeed::Observer, '.before' do
let!(:now) { Time.local(2020) }
let!(:clock) { class_double(RSpec::Core::Time, now: now) }
let!(:example) { instance_double(RSpec::Core::Example, clock: clock) }