code_analyzer 0.4.8 → 0.5.3

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