code_analyzer 0.5.5 → 0.7.0

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.
@@ -1,39 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'spec_helper'
4
-
5
- module CodeAnalyzer
6
- describe Nil do
7
- let(:core_nil) { Nil.new }
8
-
9
- context 'to_s' do
10
- it 'should return self' do
11
- expect(core_nil.to_s).to eq core_nil
12
- end
13
- end
14
-
15
- context 'hash_size' do
16
- it 'should return 0' do
17
- expect(core_nil.hash_size).to eq 0
18
- end
19
- end
20
-
21
- context 'method_missing' do
22
- it 'should return self' do
23
- expect(core_nil.undefined).to eq core_nil
24
- end
25
- end
26
-
27
- context 'present?' do
28
- it 'should return false' do
29
- expect(core_nil).not_to be_present
30
- end
31
- end
32
-
33
- context 'blank?' do
34
- it 'should return true' do
35
- expect(core_nil).to be_blank
36
- end
37
- end
38
- end
39
- end