comptroller 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/comptroller/version.rb +1 -1
- data/lib/spec/fake_server.rb +10 -0
- data/spec/claim_error_spec.rb +1 -1
- metadata +1 -1
data/lib/comptroller/version.rb
CHANGED
data/lib/spec/fake_server.rb
CHANGED
@@ -27,6 +27,16 @@ class DataManager
|
|
27
27
|
resent_at: nil,
|
28
28
|
created_at: "2013-06-13T16:17:02Z",
|
29
29
|
updated_at: "2013-06-13T16:17:02Z"
|
30
|
+
},
|
31
|
+
2 => {
|
32
|
+
error_message: 'Send to optimis.duxware.com failed with ERROR: Did not find this ICD code in DB: 729.90',
|
33
|
+
external_id: 4,
|
34
|
+
id: 1,
|
35
|
+
message_body: '<?xml version="1.0" encoding="UTF-8"?><incomingHeader></incomingHeader>',
|
36
|
+
record_id: 43334,
|
37
|
+
resent_at: nil,
|
38
|
+
created_at: "2013-06-13T16:17:02Z",
|
39
|
+
updated_at: "2013-06-13T16:17:02Z"
|
30
40
|
}
|
31
41
|
}
|
32
42
|
end
|
data/spec/claim_error_spec.rb
CHANGED
@@ -9,7 +9,7 @@ module Comptroller
|
|
9
9
|
it 'allows deleting of claim errors' do
|
10
10
|
error = ClaimError.all.first
|
11
11
|
ClaimError.destroy_existing(error.id)
|
12
|
-
expect(ClaimError.all).
|
12
|
+
expect(ClaimError.all).to_not include(error)
|
13
13
|
end
|
14
14
|
|
15
15
|
it 'allows updating of errors' do
|