Skip to content

Commit 39e963e

Browse files
committed
rename song_pro_spec to match with chord_pro.rb
1 parent d550c1a commit 39e963e

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,22 @@
5252
{start_of_verse}
5353
{start_of_chorus: Chorus 1}
5454
{start_of_chorus}
55+
{start_of_bridge}
56+
{start_of_bridge: Bridge 2}
57+
{sob}
5558
{chorus}
5659
{chorus:Final}
5760
')
58-
expect(song.sections.size).to eq 6
61+
expect(song.sections.size).to eq 9
5962
expect(song.sections[0].name).to eq "Verse 1"
6063
expect(song.sections[1].name).to eq "Verse"
6164
expect(song.sections[2].name).to eq "Chorus 1"
6265
expect(song.sections[3].name).to eq "Chorus"
63-
expect(song.sections[4].name).to eq "Chorus"
64-
expect(song.sections[5].name).to eq "Final"
66+
expect(song.sections[4].name).to eq "Bridge"
67+
expect(song.sections[5].name).to eq "Bridge 2"
68+
expect(song.sections[6].name).to eq "Bridge"
69+
expect(song.sections[7].name).to eq "Chorus"
70+
expect(song.sections[8].name).to eq "Final"
6571
end
6672
end
6773

@@ -208,7 +214,7 @@
208214
expect(song.title).to eq "Bad Moon Rising"
209215
expect(song.artist).to eq "Creedence Clearwater Revival"
210216
expect(song.capo).to eq "1"
211-
expect(song.sections.size).to eq 9
217+
expect(song.sections.size).to eq 10
212218
expect(song.custom[:difficulty]).to eq "Easy"
213219
expect(song.custom[:spotify_url])
214220
.to eq "https://open.spotify.com/track/20OFwXhEXf12DzwXmaV7fj?si=cE76lY5TT26fyoNmXEjNpA"

0 commit comments

Comments
 (0)