update specs to follow Class#inspect changes with 'const shortcuts'

This commit is contained in:
Laurent Sansonetti
2014-04-21 19:12:39 +02:00
parent b6536a90db
commit 6070037790
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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