lex-tick 0.1.11 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d3be4c9e415b8ecb5f4bf87248edbc9d25192c1ad57892ed975ef722e517bc95
|
|
4
|
+
data.tar.gz: 4ddcbe7624bbab90a6fa463aa6c03cc36ae5ebe3efa9af121cc675fe3287e6cb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9461d3f7247953b00d7a08263185128834584bc798877a120df3453773d9c0556f32777420cb4c9a9132c333544907009a6d8076681e2cc5c962cbe5ab369649
|
|
7
|
+
data.tar.gz: 379fbad5fccc9573de1a3b8ac0ccd660d918c86a5fc08858000b549cb341d925b98692a97e99eef4aab5a4ad13d73dcf31244725aef9b91edb13fc813dd76e23
|
|
@@ -54,20 +54,34 @@ RSpec.describe Legion::Extensions::Tick::Helpers::Constants do
|
|
|
54
54
|
end
|
|
55
55
|
|
|
56
56
|
describe 'DREAM_PHASES' do
|
|
57
|
-
it 'defines
|
|
58
|
-
expect(described_class::DREAM_PHASES.size).to eq(
|
|
57
|
+
it 'defines 10 dream phases' do
|
|
58
|
+
expect(described_class::DREAM_PHASES.size).to eq(10)
|
|
59
59
|
end
|
|
60
60
|
|
|
61
|
-
it 'includes
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
61
|
+
it 'includes partner_reflection' do
|
|
62
|
+
expect(described_class::DREAM_PHASES).to include(:partner_reflection)
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
it 'has partner_reflection between dream_reflection and dream_narration' do
|
|
66
|
+
idx_reflection = described_class::DREAM_PHASES.index(:dream_reflection)
|
|
67
|
+
idx_partner = described_class::DREAM_PHASES.index(:partner_reflection)
|
|
68
|
+
idx_narration = described_class::DREAM_PHASES.index(:dream_narration)
|
|
69
|
+
expect(idx_partner).to be > idx_reflection
|
|
70
|
+
expect(idx_partner).to be < idx_narration
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
it 'lists all phases in order' do
|
|
74
|
+
expected = %i[
|
|
75
|
+
memory_audit association_walk contradiction_resolution
|
|
76
|
+
identity_entropy_check agenda_formation consolidation_commit
|
|
77
|
+
knowledge_promotion dream_reflection partner_reflection dream_narration
|
|
78
|
+
]
|
|
65
79
|
expect(described_class::DREAM_PHASES).to eq(expected)
|
|
66
80
|
end
|
|
67
81
|
end
|
|
68
82
|
|
|
69
83
|
describe 'MODE_PHASES' do
|
|
70
|
-
it 'maps dormant_active to the
|
|
84
|
+
it 'maps dormant_active to the 10 dream phases' do
|
|
71
85
|
expect(described_class::MODE_PHASES[:dormant_active]).to eq(described_class::DREAM_PHASES)
|
|
72
86
|
end
|
|
73
87
|
end
|