Skip to content

Commit aa0cd35

Browse files
authored
Merge pull request #2348 from rspec/drop-redundant-check
Remove redundant check
2 parents 8310395 + 8c2620c commit aa0cd35

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)