Sha256: 94404160057bcf619a43de47b515b64b23b06be3f6b083b0b374c30dd91ec2ab
Contents?: true
Size: 406 Bytes
Versions: 8
Compression:
Stored size: 406 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' describe Module do describe "#class_name" do it "returns just the name of the class/module" do expect(YARD::CodeObjects::Base.class_name).to eq "Base" end end describe "#namespace" do it "returns everything before the class name" do expect(YARD::CodeObjects::Base.namespace_name).to eq "YARD::CodeObjects" end end end
Version data entries
8 entries across 7 versions & 2 rubygems