Cross Reference: /ontohub/spec/lib/timeout_worker_spec.rb
timeout_worker_spec.rb revision 25fded88391e73fd7a1306bb1da1c24232f94cfd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
require 'spec_helper'
context 'when a timeout is not set' do
end
end
it 'will complain with an error' do end
end
context 'when a timeout has been set' do
context 'when the timeout is reached' do
end
it 'will set the state of the ontology version to failed' do end
it 'will set the error message of the ontology version accordingly' do end
it 'will set the state of the ontology to failed' do end
end
end
end