mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-24 04:46:05 +08:00
[osx] Allow the user to configure a NSApplication subclass and use that instead.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-539
This commit is contained in:
@@ -255,7 +255,7 @@ describe "NSNotFound" do
|
||||
end
|
||||
|
||||
describe "Application singleton subclassing" do
|
||||
xit "registers the principal class" do
|
||||
it "registers the principal class" do
|
||||
app = (ios? ? UIApplication : NSApplication).sharedApplication
|
||||
app.class.should == ApplicationSubclass
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user