rspec Module monkey-patching
This commit is contained in:
1 parent
c258dc379f
commit
8d893d7b72
1 file changed
+6
@@ -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
|
||||||
Reference in new issue
Block a user