Skip to content

Commit ef3a5e6

Browse files
committed
Remove redundant check
TimeHelpers are there starting from 4.2 at least.
1 parent 7d4b257 commit ef3a5e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/rspec/rails/matchers/active_job_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def self.find(_id)
3333
end
3434

3535
RSpec.describe "ActiveJob matchers", skip: !RSpec::Rails::FeatureCheck.has_active_job? do
36-
include ActiveSupport::Testing::TimeHelpers if defined?(ActiveSupport::Testing::TimeHelpers)
36+
include ActiveSupport::Testing::TimeHelpers
3737

3838
around do |example|
3939
original_logger = ActiveJob::Base.logger

0 commit comments

Comments
 (0)