Skip to content

Commit

Permalink
Merge pull request #714 from flyerhzm/awesomecode-format-ruby-code-61810
Browse files Browse the repository at this point in the history
Auto corrected by following Format Ruby Code
  • Loading branch information
flyerhzm authored Aug 11, 2024
2 parents dddf7ab + e554e43 commit a97d6b8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions spec/integration/active_record/association_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,10 @@

context 'inside Fiber' do
it 'should detect non preload post => comments' do
fiber = Fiber.new do
Post.all.each { |post| post.comments.map(&:name) }
end
fiber =
Fiber.new do
Post.all.each { |post| post.comments.map(&:name) }
end
fiber.resume

Bullet::Detector::UnusedEagerLoading.check_unused_preload_associations
Expand Down

0 comments on commit a97d6b8

Please sign in to comment.