blob: 7418245f2631b958393cb2eae365b46658c7b892 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
require_relative '../../spec_helper'
require_relative 'fixtures/classes'
describe 'Kernel#nil?' do
it 'returns false' do
Object.should_not.nil?
Object.new.should_not.nil?
''.should_not.nil?
[].should_not.nil?
{}.should_not.nil?
end
end
|