spec/motion/util/constants_spec.rb in bubble-wrap-1.5.0 vs spec/motion/util/constants_spec.rb in bubble-wrap-1.6.0.rc1

- old
+ new

@@ -20,7 +20,13 @@ end it "should bitmask array values" do BW::Constants.get("NSStringEncodingConversion", :allow_lossy, :external_representation).should == (NSStringEncodingConversionAllowLossy | NSStringEncodingConversionExternalRepresentation) end + + if App.ios? + it "should return an array of string constant values" do + BW::Constants.get("UIActivityType", [:air_drop, :print]).should == ["com.apple.UIKit.activity.AirDrop", "com.apple.UIKit.activity.Print"] + end + end end end