spec/models/flyboy/task_spec.rb in flyboy-0.0.1 vs spec/models/flyboy/task_spec.rb in flyboy-0.0.2
- old
+ new
@@ -47,11 +47,11 @@
context 'term not passed' do
it "should snooze the reminder and term with default value" do
@task.snooze
@task.reminder.should eq Date.today + 2
- @task.term.should eq Date.today + 15
+ @task.term.should eq Date.today + 35
end
context 'reminder too far is the past' do
it "should set reminder to today" do
@task.reminder = @today - 30
@@ -69,10 +69,10 @@
end
it "should snooze the reminder and term with default value from current date" do
@task.snooze
@task.reminder.should eq @today + 7
- @task.term.should eq @today + 10
+ @task.term.should eq @today + 30
end
end
end # describe '#snooze'
end