Skip to content

Commit

Permalink
add test job
Browse files Browse the repository at this point in the history
  • Loading branch information
BlazingRockStorm committed Aug 12, 2024
1 parent df4481a commit 3e3a528
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion spec/jobs/update_artist_pop_points_job_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,11 @@
require 'rails_helper'

RSpec.describe UpdateArtistPopPointsJob do
pending "add some examples to (or delete) #{__FILE__}"
describe 'perform_later' do
it 'enqueue job' do
ActiveJob::Base.queue_adapter = :test
described_class.perform_later
expect(described_class).to have_been_enqueued
end
end
end

0 comments on commit 3e3a528

Please sign in to comment.