Sha256: 727fc24e181632e95e26ca3b809a459800e2421a6fbbd43c508e7c6488cfe88d

Contents?: true

Size: 447 Bytes

Versions: 1

Compression:

Stored size: 447 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

1 entries across 1 versions & 1 rubygems

Version Path
sugarcube-1.0.0 spec/nsurl_spec.rb