Sha256: 4ce5313a52711c2173a424a06d6d69170fb11aa8f71e08432f4f45e83d18005b

Contents?: true

Size: 349 Bytes

Versions: 1

Compression:

Stored size: 349 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/spec_helper')

describe Transition do
  
  context '.new' do
    it "should assign duration and type given during construction" do
      t = Transition.new(:duration => 1.5, :type => Transition::LINEAR)
      t.duration.should eq(1.5)
      t.type.should eq(Transition::LINEAR)
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
music-transcription-0.3.0 spec/transition_spec.rb