spec/uialertview_spec.rb in sugarcube-0.20.25 vs spec/uialertview_spec.rb in sugarcube-1.0.0

- old
+ new

@@ -69,10 +69,10 @@ alert.buttonTitleAtIndex(alert.cancelButtonIndex).should == 'a' alert.buttonTitleAtIndex(alert.firstOtherButtonIndex).should == 'b' end it 'should have :style option' do - Symbol.alert_view_styles.each do |style, value| + Symbol.uialertstyle.each do |style, value| # as symbol alert = UIAlertView.alert('test', show: false, style: style) alert.alertViewStyle.should == value # as constant