Skip to content

Commit

Permalink
Revert "Faker adjectives (faker-ruby#2130)"
Browse files Browse the repository at this point in the history
This reverts commit 5d7b15a.
  • Loading branch information
droznyk committed Oct 23, 2020
1 parent 19cbf5f commit e63fcc0
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 248 deletions.
9 changes: 0 additions & 9 deletions doc/default/adjective.md

This file was deleted.

35 changes: 0 additions & 35 deletions lib/faker/default/faker_adjective.rb

This file was deleted.

179 changes: 0 additions & 179 deletions lib/locales/en/adjective.yml

This file was deleted.

17 changes: 0 additions & 17 deletions test/faker/default/test_faker_adjective.rb

This file was deleted.

15 changes: 7 additions & 8 deletions test/faker/default/test_faker_bank.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,13 @@ def test_swift_bic
end

# This test makes sure there are no collissions in BIC number pool
# https://github.com/faker-ruby/faker/pull/2130#issuecomment-703213837
# def test_swift_bic_collission
# 10.times do
# samplebic1 = @tester.swift_bic
# samplebic2 = @tester.swift_bic
# refute_equal samplebic1, samplebic2
# end
# end
def test_swift_bic_collission
10.times do
samplebic1 = @tester.swift_bic
samplebic2 = @tester.swift_bic
refute_equal samplebic1, samplebic2
end
end

def test_iban_default
assert @tester.iban.match(/[A-Z]{4}\d{14}/)
Expand Down

0 comments on commit e63fcc0

Please sign in to comment.