Sha256: f8a0c25adf1d01f34760196b81a467f4e08edf26c7d3fd6bce47e008849ddc16

Contents?: true

Size: 362 Bytes

Versions: 1

Compression:

Stored size: 362 Bytes

Contents

require 'spec_helper'

describe Forgery::Name do
  it "should return a random first name" do
    (Forgery.dictionaries[:male_first_names] + Forgery.dictionaries[:female_first_names]).should include(Forgery::Name.first_name)
  end

  it "should return a random last name" do
    Forgery.dictionaries[:last_names].should include(Forgery::Name.last_name)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
forgery-0.6.0 spec/forgery/name_spec.rb