discourse/spec/jobs/periodical_updates_spec.rb

13 lines
244 B
Ruby
Raw Normal View History

require 'rails_helper'
require_dependency 'jobs/scheduled/periodical_updates'
describe Jobs::PeriodicalUpdates do
2014-02-27 09:15:41 +08:00
it "works" do
2014-02-27 09:15:41 +08:00
# does not blow up, no mocks, everything is called
Jobs::PeriodicalUpdates.new.execute(nil)
end
end