mirror of
https://github.com/plashchynski/crono.git
synced 2026-03-21 08:59:36 +01:00
Add Job#description
This commit is contained in:
@@ -19,4 +19,10 @@ describe Crono::Job do
|
||||
expect(thread).to be_stop
|
||||
end
|
||||
end
|
||||
|
||||
describe "#description" do
|
||||
it "should return job identificator" do
|
||||
expect(job.description).to be_eql("Perform TestJob every 2 days")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user