rspec Module monkey-patching

This commit is contained in:
Josh Holtrop 2013-10-04 20:22:37 -04:00
parent c258dc379f
commit 8d893d7b72

View File

@ -0,0 +1,6 @@
describe "Module#short_name" do
it "returns the inner name of the module" do
Rscons::Environment.short_name.should == "Environment"
Rscons::Object.short_name.should == "Object"
end
end