mirror of
https://github.com/plashchynski/crono.git
synced 2026-12-03 21:34:26 +01:00
Use on in a period description
This commit is contained in:
1 parent
a3c4ec87f5
commit
a0c612fb27
2 files changed
+3
-2
No files matched your search
+2
-2
@@ -9,8 +9,8 @@ describe Crono::Period do
|
||||
|
||||
describe '#description' do
|
||||
it 'should return period description' do
|
||||
@period = Crono::Period.new(2.day, at: '15:20')
|
||||
expect(@period.description).to be_eql('every 2 days at 15:20')
|
||||
@period = Crono::Period.new(1.week, on: :monday, at: '15:20')
|
||||
expect(@period.description).to be_eql('every 7 days at 15:20 on Monday')
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user