Sha256: 724e7aed5623cf991aa785f59ecb9dcf86f088f00cf2442c4c7f1e13070448b4
Contents?: true
Size: 454 Bytes
Versions: 5
Compression:
Stored size: 454 Bytes
Contents
require 'spec_helper' describe RailsBestPractices::Core::Nil do let(:core_nil) { RailsBestPractices::Core::Nil.new } context "to_s" do it "should return self" do core_nil.to_s.should == core_nil end end context "hash_size" do it "should return 0" do core_nil.hash_size.should == 0 end end context "method_missing" do it "should return self" do core_nil.undefined.should == core_nil end end end
Version data entries
5 entries across 5 versions & 1 rubygems