mirror of
https://github.com/zhigang1992/ProMotion.git
synced 2026-05-24 09:13:24 +08:00
Clean up spec for tintColor, but it still doesn't work.
This commit is contained in:
@@ -106,10 +106,10 @@ describe "PM::Delegate Colors" do
|
||||
@subject = TestDelegateRed.new
|
||||
|
||||
@subject.mock!(:on_load) do |app, options|
|
||||
app.windows.first.rootViewController.view.tintColor.should == UIColor.blackColor
|
||||
app.windows.first.rootViewController.view.tintColor.should == UIColor.redColor
|
||||
end
|
||||
|
||||
@subject.application(UIApplication.sharedApplication, didFinishLaunchingWithOptions:{jamon: true})
|
||||
@subject.application(UIApplication.sharedApplication, didFinishLaunchingWithOptions:nil)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user