spec/unit/screen_spec.rb in ProMotion-2.2.2 vs spec/unit/screen_spec.rb in ProMotion-2.3.0
- old
+ new
@@ -129,13 +129,9 @@
it "#should_rotate(orientation) should fire when shouldAutorotateToInterfaceOrientation(orientation) fires" do
@screen.mock!(:should_rotate) { |orientation| orientation.should == UIInterfaceOrientationMaskPortrait }
@screen.shouldAutorotateToInterfaceOrientation(UIInterfaceOrientationMaskPortrait)
end
- it "should have an awesome convenience method for UIApplication.sharedApplication" do
- @screen.app.should == UIApplication.sharedApplication
- end
-
describe "iOS lifecycle methods" do
it "-viewDidLoad" do
@screen.mock!(:view_did_load) { true }
@screen.viewDidLoad.should == true