trending_projects_worker_spec.rb 232 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
require 'spec_helper'

describe TrendingProjectsWorker do
  describe '#perform' do
    it 'refreshes the trending projects' do
      expect(TrendingProject).to receive(:refresh!)

      described_class.new.perform
    end
  end
end