mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-23 20:31:17 +08:00
update specs to follow Class#inspect changes with 'const shortcuts'
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
describe "Strings" do
|
||||
it "are based on com.rubymotion.String" do
|
||||
'foo'.class.should == String
|
||||
'foo'.class.inspect.should == 'com.rubymotion.String'
|
||||
'foo'.class.getName.should == 'com.rubymotion.String'
|
||||
end
|
||||
|
||||
it "can be passed to Java methods expecting a java.lang.CharSequence" do
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
describe "Symbols" do
|
||||
it "are based on com.rubymotion.Symbol" do
|
||||
:foo.class.should == Symbol
|
||||
:foo.class.inspect.should == 'com.rubymotion.Symbol'
|
||||
:foo.class.getName.should == 'com.rubymotion.Symbol'
|
||||
end
|
||||
|
||||
it "can be passed to Java methods expecting a java.lang.CharSequence" do
|
||||
|
||||
Reference in New Issue
Block a user