mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@8cafaa5
This commit is contained in:
parent
1b377b32c8
commit
2e32b919b4
35 changed files with 832 additions and 10 deletions
|
@ -134,6 +134,10 @@ describe "CApiModule" do
|
|||
@m.rb_const_get(CApiModuleSpecs::A, :X).should == 1
|
||||
end
|
||||
|
||||
it "returns a constant defined in the module for multiple constants" do
|
||||
[:Q, :R, :S, :T].each { |x| @m.rb_const_get(CApiModuleSpecs::A, x).should == CApiModuleSpecs::A.const_get(x) }
|
||||
end
|
||||
|
||||
it "returns a constant defined at toplevel" do
|
||||
@m.rb_const_get(CApiModuleSpecs::A, :Integer).should == Integer
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue