Skip to content

Commit

Permalink
Add tests for new Faker::Internet.slug glue (faker-ruby#1457)
Browse files Browse the repository at this point in the history
* Add tests for new Faker::Internet.slug glue

* Update test_faker_internet.rb
  • Loading branch information
vbrazo authored Oct 31, 2018
1 parent 9ae7c4d commit 1ea6ac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_faker_internet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1ea6ac7

Please sign in to comment.