Skip to content

Commit 52e5d43

Browse files
authored
renamed nhs to national_health_service (#2923)
* renamed nhs to national_health_service * Reverted Gemfile.lock
1 parent dd8c88c commit 52e5d43

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
File renamed without changes.

test/faker/default/test_faker_national_health_service.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ def test_nhs_british_number
1111
assert_match(/\A\d{3}\s\d{3}\s\d{4}\z/, @tester.british_number)
1212
end
1313

14-
def test_nhs_check_digit_equals_10
14+
def test_check_digit_equals_10
1515
Faker::NationalHealthService.stub(:rand, 458_617_434) do
1616
assert_match('458 617 4331', @tester.british_number)
1717
end
1818
end
1919

20-
def test_nhs_check_digit
20+
def test_check_digit
2121
assert_equal 6, @tester.check_digit(number: 400_012_114)
2222
end
2323

24-
def test_nhs_check_digit_11
24+
def test_check_digit_11
2525
assert_equal 0, @tester.check_digit(number: 418_513_625)
2626
end
2727
end

0 commit comments

Comments
 (0)