spec/note_spec.rb in music-transcription-0.6.2 vs spec/note_spec.rb in music-transcription-0.6.3
- old
+ new
@@ -91,7 +91,12 @@
note.duration.should eq(Rational(1,8))
note = Note::Quarter.new
note.stretch!(2)
note.duration.should eq(Rational(1,2))
end
+
+ it 'should return self' do
+ note = Note::Quarter.new
+ note.stretch!(1).should be note
+ end
end
end