Sha256: c64e706e23d948cd963dbbf697c1684d8ec2603423556485a125a565b50bab92
Contents?: true
Size: 483 Bytes
Versions: 11
Compression:
Stored size: 483 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' describe ActiveEncode::Polling do before do class PollingEncode < ActiveEncode::Base include ActiveEncode::Polling end end after do Object.send(:remove_const, :PollingEncode) end describe 'after_create' do subject { PollingEncode.create("sample.mp4") } it "enqueues a PollingJob" do subject expect(ActiveEncode::PollingJob).to have_been_enqueued.with(subject) end end end
Version data entries
11 entries across 11 versions & 1 rubygems