mirror of
https://github.com/plashchynski/crono.git
synced 2026-04-20 07:51:31 +02:00
Fix specs
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
class TestJob
|
class TestJob
|
||||||
def perform(args)
|
def perform(*args)
|
||||||
puts 'Test!'
|
puts 'Test!'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class TestFailingJob
|
class TestFailingJob
|
||||||
def perform(args)
|
def perform(*args)
|
||||||
raise 'Some error'
|
raise 'Some error'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user