spec/nsstring_spec.rb in sugarcube-0.16.9 vs spec/nsstring_spec.rb in sugarcube-0.18.0

- old
+ new

@@ -50,23 +50,23 @@ it "should have a #uilabel method" do str = 'test' str_size = str.sizeWithFont(UIFont.systemFontOfSize(UIFont.labelFontSize)) label = str.uilabel - label.size.width == str_size.width - label.size.height == str_size.height - label.backgroundColor == UIColor.clearColor + label.size.width.should == str_size.width + label.size.height.should == str_size.height + label.backgroundColor.should == UIColor.clearColor end it "should have a #uilabel(font) method" do str = 'test' font = UIFont.boldSystemFontOfSize(20) str_size = str.sizeWithFont(font) label = str.uilabel(font) label.font.should == font - label.size.width == str_size.width - label.size.height == str_size.height - label.backgroundColor == UIColor.clearColor + label.size.width.should == str_size.width + label.size.height.should == str_size.height + label.backgroundColor.should == UIColor.clearColor end it "should have a #escape_url method" do ' '.escape_url.should == '%20' '?<>&=;%'.escape_url.should == '%3F%3C%3E%26%3D%3B%25'