Add Job#description

This commit is contained in:
Dzmitry Plashchynski
2015-03-05 14:03:07 +02:00
parent 5b66e9049b
commit 007989fa2c
2 changed files with 10 additions and 0 deletions

View File

@@ -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