spec/model/part_spec.rb in music-transcription-0.19.0 vs spec/model/part_spec.rb in music-transcription-0.20.0
- old
+ new
@@ -39,12 +39,9 @@
'dynamic change values outside 0..1' => [
0.5, :notes => [ Note::whole ],
:dynamic_changes => { 0.2 => Change::Immediate.new(-0.01), 0.3 => Change::Gradual.new(1.01,0.2) }],
'notes with 0 duration' => [ 0.5, :notes => [ Note.new(0) ]],
'notes with negative duration' => [ 0.5, :notes => [ Note.new(-1) ]],
- 'gradual change with negative duration' => [
- 0.5, :notes => [ Note.new(1) ],
- :dynamic_changes => { 0.2 => Change::Gradual.new(0.6,-0.1) }]
}.each do |context_str, args|
context context_str do
it 'should return false' do
Part.new(*args).should be_invalid
end