Sha256: 0dca2b60ba63f2988e03c9c56815410116d64959cad9dbaa2ce078a888c00eb0

Contents?: true

Size: 220 Bytes

Versions: 10

Compression:

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

10 entries across 10 versions & 1 rubygems

Version Path
ffaker-1.16.2 test/test_geolocation.rb
ffaker-1.16.1 test/test_geolocation.rb
ffaker-1.16.0 test/test_geolocation.rb
ffaker-1.15.0 test/test_geolocation.rb
ffaker-1.14.0 test/test_geolocation.rb
ffaker-1.13.0 test/test_geolocation.rb
ffaker-1.12.1 test/test_geolocation.rb
ffaker-1.12.0 test/test_geolocation.rb
ffaker-1.11.0 test/test_geolocation.rb
ffaker-1.10.1 test/test_geolocation.rb