Sha256: bf64b22db6dd3d14c1005dedd13b897a0e9d3d167437996f7d237d0cca7e4df7
Contents?: true
Size: 448 Bytes
Versions: 5
Compression:
Stored size: 448 Bytes
Contents
describe "NSURL" do it "should have a method #open" do 'test'.nsurl.respond_to?(:open).should == true end it "should have a method #can_open?" do 'https://github.com'.nsurl.can_open?.should == true end it "should have a method #nsdata?" do NSData.should === 'https://github.com'.nsurl.nsdata end it "should have a method #nsurlrequest" do NSURLRequest.should === 'https://github.com'.nsurl.nsurlrequest end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
sugarcube-0.20.25 | spec/nsurl_spec.rb |
sugarcube-0.20.24 | spec/nsurl_spec.rb |
sugarcube-0.20.23 | spec/nsurl_spec.rb |
sugarcube-0.20.22 | spec/nsurl_spec.rb |
sugarcube-0.20.21 | spec/nsurl_spec.rb |