Sha256: e75c94b3fd25f1d5c678f020ab2bd7b02c86387a3c1ba60019b5b67883ee9237

Contents?: true

Size: 225 Bytes

Versions: 27

Compression:

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

end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
sugarcube-0.20.1 spec/nsurl_spec.rb
sugarcube-0.20.0 spec/nsurl_spec.rb
sugarcube-0.19.5 spec/nsurl_spec.rb
sugarcube-0.19.4 spec/nsurl_spec.rb
sugarcube-0.19.2 spec/nsurl_spec.rb
sugarcube-0.19.0 spec/nsurl_spec.rb
sugarcube-0.18.21 spec/nsurl_spec.rb
sugarcube-0.18.20 spec/nsurl_spec.rb
sugarcube-0.18.19 spec/nsurl_spec.rb
sugarcube-0.18.18 spec/nsurl_spec.rb
sugarcube-0.18.17 spec/nsurl_spec.rb
sugarcube-0.18.16 spec/nsurl_spec.rb
sugarcube-0.18.12 spec/nsurl_spec.rb
sugarcube-0.18.11 spec/nsurl_spec.rb
sugarcube-0.18.10 spec/nsurl_spec.rb
sugarcube-0.18.9 spec/nsurl_spec.rb
sugarcube-0.18.8 spec/nsurl_spec.rb
sugarcube-0.18.7 spec/nsurl_spec.rb
sugarcube-0.18.6 spec/nsurl_spec.rb
sugarcube-0.18.5 spec/nsurl_spec.rb