Sha256: dd2f518c7200605b99069bf525761ce9c614e4c30338f1ccb744ed00dbaaec23

Contents?: true

Size: 385 Bytes

Versions: 3

Compression:

Stored size: 385 Bytes

Contents

require 'spec_helper'

describe Serinette::SourceNoise do

  it 'should inherit from Noise' do
    expect(Serinette::SourceNoise.ancestors.include?(Serinette::Noise)).to eq(true)
  end

  context 'given a source noise' do
    subject(:source_noise) { Serinette::SourceNoise.new }

    it 'should have a wavefile' do
      expect(source_noise.wavefile).to be_a String
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
serinette-0.0.3 spec/serinette/source_noise_spec.rb
serinette-0.0.2 spec/serinette/source_noise_spec.rb
serinette-0.0.0.pre spec/serinette/source_noise_spec.rb