Rename job to be more inline with other jobs
This commit is contained in:
parent
83bc134998
commit
070816f0a2
@ -1,4 +1,4 @@
|
||||
class CalendarScraperJob < ApplicationJob
|
||||
class ScrapeCalendarJob < ApplicationJob
|
||||
queue_as :default
|
||||
|
||||
def perform(*args)
|
||||
@ -15,6 +15,7 @@ class CalendarScraperJob < ApplicationJob
|
||||
|
||||
unit_code = match[0]
|
||||
short_lecture_title = match[1]
|
||||
start_time = event.dtstart
|
||||
end
|
||||
end
|
||||
end
|
||||
@ -1,6 +1,6 @@
|
||||
require "test_helper"
|
||||
|
||||
class CalendarScraperJobTest < ActiveJob::TestCase
|
||||
class ScrapeCalendarJobTest < ActiveJob::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
Loading…
Reference in New Issue
Block a user