spec/meter_spec.rb in music-transcription-0.7.2 vs spec/meter_spec.rb in music-transcription-0.7.3
- old
+ new
@@ -56,11 +56,11 @@
'6/8 meter' => [6,'1/8'.to_r],
'12/8 meter' => [12,'1/8'.to_r],
}.each do |context_str,args|
context context_str do
it 'should return true' do
- Score.new(*args).should be_valid
+ Meter.new(*args).should be_valid
end
end
end
{
@@ -69,10 +69,10 @@
'zero beat duration' => [4,0.to_r],
'negative beat duration' => [4,-1.to_r],
}.each do |context_str,args|
context context_str do
it 'should return false' do
- Score.new(*args).should be_invalid
+ Meter.new(*args).should be_invalid
end
end
end
end
end