File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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"
You can’t perform that action at this time.
0 commit comments