spec/unit/delegate_spec.rb in ProMotion-2.2.0 vs spec/unit/delegate_spec.rb in ProMotion-2.2.1
- old
+ new
@@ -78,9 +78,13 @@
end
@subject.application(UIApplication.sharedApplication, openURL: url, sourceApplication:sourceApplication, annotation: annotation)
end
+ it "should have an awesome convenience method for UIApplication.sharedApplication" do
+ @subject.app.should == UIApplication.sharedApplication
+ end
+
end
# iOS 7 ONLY tests
if TestHelper.ios7
describe "PM::Delegate Colors" do