spec/main_spec.rb in teacup-1.2.7 vs spec/main_spec.rb in teacup-1.2.8

- old
+ new

@@ -101,9 +101,12 @@ @button = @background.subviews[2] rotate_device :to => :landscape end it "should be in landscape" do + if UIApplication.sharedApplication.statusBarOrientation != UIInterfaceOrientationLandscapeLeft + NSLog("\n=====\n The device orientation is not changing to `landscape`!\n=====\n") + end UIApplication.sharedApplication.statusBarOrientation.should == UIInterfaceOrientationLandscapeLeft end it "should be styled as :background - landscape" do @background.stylename.should == :background