Sha256: 7de49af6cf430139e6e58998b21c04113e435f8d64425f8491520334d0767920
Contents?: true
Size: 395 Bytes
Versions: 4
Compression:
Stored size: 395 Bytes
Contents
require 'shoes/spec_helper' describe Shoes::Sound do let(:parent) { double("parent") } let(:filepath) { "../../samples/sounds/61847__simon-rue__boink-v3.wav" } subject { Shoes::Sound.new(parent, filepath) } its(:filepath) { should eq(filepath) } its(:parent) { should be(parent) } it "delegates play to gui" do expect(subject.gui).to receive(:play) subject.play end end
Version data entries
4 entries across 4 versions & 3 rubygems
Version | Path |
---|---|
shoes-core-4.0.0.pre4 | spec/shoes/sound_spec.rb |
shoes-core-4.0.0.pre3 | spec/shoes/sound_spec.rb |
shoes-swt-4.0.0.pre2 | spec/shoes/sound_spec.rb |
shoes-dsl-4.0.0.pre2 | spec/shoes/sound_spec.rb |