Commit e83d3a69a8d8c63bb4336fdccf6e13a0e5b0ad14

Authored by Andrew Kane
1 parent 5a65c9dd

Fixed tests

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
test/test_helper.rb
... ... @@ -373,7 +373,7 @@ class Animal
373 373 text_start: [:name],
374 374 suggest: [:name],
375 375 index_name: -> { "#{name.tableize}-#{Date.today.year}" },
376   - callbacks: :async
  376 + callbacks: defined?(ActiveJob) ? :async : true
377 377 # wordnet: true
378 378 end
379 379  
... ...