Sha256: 16706bea5e1327ce00ecc2c7afb9991b8187e1a2b983b30d1806bf3df24ed676
Contents?: true
Size: 356 Bytes
Versions: 3
Compression:
Stored size: 356 Bytes
Contents
#encoding: UTF-8 require 'spec_helper' describe Shrimp::Source do context "url" do it "should match file urls" do source = Shrimp::Source.new("file:///test/test.html") source.should be_url end it "should match http urls" do source = Shrimp::Source.new("http:///test/test.html") source.should be_url end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
shrimp-0.0.3 | spec/shrimp/source_spec.rb |
shrimp-0.0.2 | spec/shrimp/source_spec.rb |
shrimp-0.0.1 | spec/shrimp/source_spec.rb |