1
0
mirror of https://github.com/askn/faker.git synced 2023-08-10 21:13:01 +03:00
faker/spec/team_spec.cr
2016-01-17 22:44:55 +02:00

20 lines
388 B
Crystal

require "./spec_helper"
describe Faker::Team do
it "name" do
Faker::Team.name.match(/(\w+\.? ?){2}/).should_not eq nil
end
it "creature" do
Faker::Team.creature.match(/(\w+){1}/).should_not eq nil
end
it "state" do
Faker::Team.state.match(/(\w+){1}/).should_not eq nil
end
it "sport" do
# Faker::Team.sport.match(/(\w+){1}/).should_not eq nil
end
end