Sha256: 440e228968468347b1695697ee050c02a4a8dea182b12c3e7c5ca7fb75337a65

Contents?: true

Size: 229 Bytes

Versions: 2

Compression:

Stored size: 229 Bytes

Contents

require_relative '../../spec_helper.rb'

describe Faker::Medical::DEA do
  it "should return a ssn with dashes" do
    #puts Faker::Dea.dea
    Faker::Medical::DEA.dea.should match(/^[A|B|F|M|P|R][A-Z](?!000000)\d{6}/)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
faker-medical-0.5.2 spec/faker/medical/dea_spec.rb
faker-medical-0.5.1 spec/faker/medical/dea_spec.rb