File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,3 +34,12 @@ RSpec/ExampleLength:
3434RSpec/MultipleMemoizedHelpers :
3535 # default: 5
3636 Max : 6
37+
38+ RSpec/SubjectStub :
39+ Exclude :
40+ - spec/units/prawn_html/attributes_spec.rb
41+
42+ Style/OpenStructUse :
43+ Exclude :
44+ - lib/prawn_html/attributes.rb
45+ - spec/units/prawn_html/attributes_spec.rb
Original file line number Diff line number Diff line change 127127 context 'with a nil value' do
128128 let ( :value ) { nil }
129129
130- it { is_expected . to eq nil }
130+ it { is_expected . to be_nil }
131131 end
132132
133133 context 'with a blank string value' do
134134 let ( :value ) { '' }
135135
136- it { is_expected . to eq nil }
136+ it { is_expected . to be_nil }
137137 end
138138
139139 context 'with a string value (ex. "some_string")' do
161161 context 'with an invalid value (ex. "some_string")' do
162162 let ( :value ) { 'some_string' }
163163
164- it { is_expected . to eq nil }
164+ it { is_expected . to be_nil }
165165 end
166166
167167 context 'with a valid value (ex. " bOlD ")' do
You can’t perform that action at this time.
0 commit comments