spec/spec_helper.rb in music-transcription-0.7.3 vs spec/spec_helper.rb in music-transcription-0.8.0

- old
+ new

@@ -2,17 +2,18 @@ require 'music-transcription' include Music::Transcription include Pitches include Meters +include Articulations class Samples SAMPLE_PART = Part.new( Dynamics::P, notes: [ - Note::Quarter.new([ C1, D1 ]), - Note::Quarter.new([ C2, D2 ]), - Note::Whole.new([ C3, D3 ]) + Note::quarter([ C1, D1 ]), + Note::quarter([ C2, D2 ]), + Note::whole([ C3, D3 ]) ], dynamic_changes: {1.0 => Change::Immediate.new(Dynamics::MP)} ) end