Skip to content

Commit

Permalink
[2786] Fix umlaut issue in opera.
Browse files Browse the repository at this point in the history
This is classic case of umalut issue.
Fixed the umlaut in the yml file and fixed the test cases around it.

fixes: 2786
  • Loading branch information
sudeeptarlekar committed Jul 2, 2023
1 parent a342e3e commit 6e9cc48
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
4 changes: 2 additions & 2 deletions lib/locales/en/opera.yml
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ en:
- Maître Pierre
- Polyeucte
- Le tribut de Zamora
by_camille_saint_saëns:
by_camille_saint_saens:
- L'ancêtre
- Ascanio
- Les barbares
Expand All @@ -337,4 +337,4 @@ en:
- La princesse jaune
- Proserpine
- Samson and Delilah
- Le timbre d'argent
- Le timbre d'argent
44 changes: 22 additions & 22 deletions test/faker/music/test_faker_opera.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,91 +7,91 @@ def setup
@tester = Faker::Music::Opera
end

def verdi
def test_verdi
assert_match(/\w+/i, @tester.verdi)
end

def rossini
def test_rossini
assert_match(/\w+/i, @tester.rossini)
end

def donizetti
def test_donizetti
assert_match(/\w+/i, @tester.donizetti)
end

def bellini
def test_bellini
assert_match(/\w+/i, @tester.bellini)
end

def mozart
def test_mozart
assert_match(/\w+/i, @tester.mozart)
end

def mozart_italian
def test_mozart_italian
assert_match(/\w+/i, @tester.mozart_italian)
end

def mozart_german
def test_mozart_german
assert_match(/\w+/i, @tester.mozart_german)
end

def gluck
def test_gluck
assert_match(/\w+/i, @tester.gluck)
end

def gluck_italian
def test_gluck_italian
assert_match(/\w+/i, @tester.gluck_italian)
end

def gluck_french
def test_gluck_french
assert_match(/\w+/i, @tester.gluck_french)
end

def beethoven
def test_beethoven
assert_match(/\w+/i, @tester.beethoven)
end

def weber
def test_weber
assert_match(/\w+/i, @tester.weber)
end

def strauss
def test_strauss
assert_match(/\w+/i, @tester.strauss)
end

def wagner
def test_wagner
assert_match(/\w+/i, @tester.wagner)
end

def schumann
def test_schumann
assert_match(/\w+/i, @tester.schumann)
end

def schubert
def test_schubert
assert_match(/\w+/i, @tester.schubert)
end

def berg
def test_berg
assert_match(/\w+/i, @tester.berg)
end

def ravel
def test_ravel
assert_match(/\w+/i, @tester.ravel)
end

def berlioz
def test_berlioz
assert_match(/\w+/i, @tester.berlioz)
end

def bizet
def test_bizet
assert_match(/\w+/i, @tester.bizet)
end

def gounod
def test_gounod
assert_match(/\w+/i, @tester.gounod)
end

def saint_saens
def test_saint_saens
assert_match(/\w+/i, @tester.saint_saens)
end
end

0 comments on commit 6e9cc48

Please sign in to comment.