Sha256: dc046a0d779f7d47fc31b9980cdc3c30fe7d3e73163b6adaf649ec05b1ec47bd

Contents?: true

Size: 221 Bytes

Versions: 12

Compression:

Stored size: 221 Bytes

Contents

require 'helper'


class TestGeolocation < Test::Unit::TestCase

  def test_lat
    assert_match /[0-9]+/, Faker::Geolocation.lat.to_s
  end

  def test_lng
    assert_match /[0-9]+/, Faker::Geolocation.lng.to_s
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
ffaker-1.9.1 test/test_geolocation.rb
ffaker-1.8.1 test/test_geolocation.rb
ffaker-1.8.0 test/test_geolocation.rb
ffaker-1.7.0 test/test_geolocation.rb
ffaker-1.6.0 test/test_geolocation.rb
ffaker-1.5.0 test/test_geolocation.rb
ffaker-1.4.0 test/test_geolocation.rb
ffaker-1.3.0 test/test_geolocation.rb
ffaker-1.2.0 test/test_geolocation.rb
ffaker-1.1.0 test/test_geolocation.rb
ffaker-1.0.0 test/test_geolocation.rb
ffaker-0.4.0 test/test_geolocation.rb