From 1ea6ac7f48bcc8b44b3ce5a400afa44a500de57f Mon Sep 17 00:00:00 2001 From: Vitor Oliveira Date: Wed, 31 Oct 2018 16:48:12 -0300 Subject: [PATCH] Add tests for new Faker::Internet.slug glue (#1457) * Add tests for new Faker::Internet.slug glue * Update test_faker_internet.rb --- test/test_faker_internet.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_faker_internet.rb b/test/test_faker_internet.rb index acb9948840..09fe621cc3 100644 --- a/test/test_faker_internet.rb +++ b/test/test_faker_internet.rb @@ -238,7 +238,7 @@ def test_ip_v6_cidr end def test_slug - assert @tester.slug.match(/^[a-z]+(_|\.|\-)[a-z]+$/) + assert @tester.slug.match(/^[a-z]+(_|\-)[a-z]+$/) end def test_slug_with_content_arg