spec/program_spec.rb in music-transcription-0.4.3 vs spec/program_spec.rb in music-transcription-0.5.2

- old
+ new

@@ -12,19 +12,19 @@ it "should return true for any offset which would be encountered" do segments = [ 0.0...5.0, 0.0...4.0, 5.0...10.0 ] program = Program.new segments [0.0, 4.0, 5.0, 9.999].each do |offset| - program.include?(offset).should be_true + program.include?(offset).should be true end end it "should return false for any offset which would not be encountered" do segments = [ 0.0...5.0, 0.0...4.0, 5.0...10.0 ] program = Program.new segments [-0.000001, 10.000001].each do |offset| - program.include?(offset).should be_false + program.include?(offset).should be false end end end describe "#note_elapsed_at" do