Sha256: 008cd8ef6e621dd4a385d0f190700bb6dc9b9efea89fc1643b05ac18e57f6221

Contents?: true

Size: 137 Bytes

Versions: 4

Compression:

Stored size: 137 Bytes

Contents

require 'uri'

def uri_should_be_valid(uri)
  uri.scheme.should_not be_nil
  uri.host.should_not be_nil
  uri.path.should_not be_nil
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gscraper-0.2.4 spec/helpers/uri.rb
gscraper-0.2.2 spec/helpers/uri.rb
gscraper-0.2.1 spec/helpers/uri.rb
gscraper-0.2.3 spec/helpers/uri.rb