Sha256: 62c809d352db8b548be998352379dc768c5d98c523b0e9bd67f81675125066b6

Contents?: true

Size: 201 Bytes

Versions: 3

Compression:

Stored size: 201 Bytes

Contents

# encoding: utf-8
require 'spec_helper'

describe WannabeBool::Nil do
  context NilClass do
    subject { nil }

    describe '#to_b' do
      it { expect(subject.to_b).to eq false }
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wannabe_bool-0.0.3 spec/wannabe_bool/nil_spec.rb
wannabe_bool-0.0.2 spec/wannabe_bool/nil_spec.rb
wannabe_bool-0.0.1 spec/wannabe_bool/nil_spec.rb