retrospring/spec/workers/question_worker_spec.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
336 B
Ruby
Raw Normal View History

2020-05-25 18:33:09 +02:00
# frozen_string_literal: true
require "rails_helper"
describe QuestionWorker do
describe "#perform" do
let(:user) { FactoryBot.create(:user) }
let(:user_id) { user.id }
2024-09-04 22:43:13 +02:00
let(:question_id) { 621 }
2020-05-25 18:33:09 +02:00
subject { described_class.new.perform(user_id, question_id) }
2024-09-04 22:43:13 +02:00
it "does nothing" do
subject
end
2020-05-25 18:33:09 +02:00
end
end