spec/note_spec.rb in music-transcription-0.4.3 vs spec/note_spec.rb in music-transcription-0.5.2
- old
+ new
@@ -10,11 +10,11 @@
note = Note.new 2
note.duration.should eq(2)
end
it "should assign :accent parameter if given during construction" do
- note = Note.new 2, accent: Accent::Stacatto.new
- note.accent.class.should eq(Accent::Stacatto)
+ note = Note.new 2, accent: Accent::Staccato.new
+ note.accent.class.should eq(Accent::Staccato)
end
it 'should have no pitches if not given' do
Note.new(2).pitches.should be_empty
end