spec/models/dorsale/flyboy/task_spec.rb in dorsale-3.9.5 vs spec/models/dorsale/flyboy/task_spec.rb in dorsale-3.9.6
- old
+ new
@@ -217,9 +217,13 @@
:term => Date.current - 1.day,
:done => true,
)
}
+ it "should return on_warning_or_alert" do
+ expect(described_class.on_warning_or_alert).to contain_exactly(task_onwarning, task_onalert)
+ end
+
it "should return :done" do
expect(task_done.state).to eq "done"
expect(described_class.done).to eq [task_done]
end
end # describe "states"