rspec Module monkey-patching
This commit is contained in:
parent
c258dc379f
commit
8d893d7b72
6
spec/rscons/monkey/module_spec.rb
Normal file
6
spec/rscons/monkey/module_spec.rb
Normal 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
|
Loading…
x
Reference in New Issue
Block a user