We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c72d4b5 commit c14935aCopy full SHA for c14935a
1 file changed
spec/lib/config_spec.rb
@@ -54,4 +54,20 @@
54
end
55
56
57
+
58
+describe Config do
59
+ describe '.skip_fte_check? (with real config values)' do
60
+ it 'returns true for a job code in fte_check_exclusions' do
61
+ expect(Config.skip_fte_check?('CWR016')).to be(true)
62
+ end
63
64
+ it 'returns true for a job code in emeritus_job_code' do
65
+ expect(Config.skip_fte_check?('009902')).to be(true)
66
67
68
+ it 'returns false for a job code not in either list' do
69
+ expect(Config.skip_fte_check?('TOTALLY_FAKE_CODE')).to be(false)
70
71
72
+end
73
# rubocop:enable Metrics/BlockLength
0 commit comments