Sha256: fed0d3bc9f6b4dd0ef7c4542b1c31200c5b9ae2c7069ed6afeb788c3f7233652
Contents?: true
Size: 838 Bytes
Versions: 3
Compression:
Stored size: 838 Bytes
Contents
require 'bundler/setup' require 'hallon/openal' describe Hallon::OpenAL do let(:klass) { described_class } let(:format) { Hash.new } subject { klass.new } describe "#play" do it "should not raise an error" do expect { subject.play }.to_not raise_error end end describe "#stop" do it "should not raise an error" do expect { subject.stop }.to_not raise_error end end describe "#pause" do it "should not raise an error" do expect { subject.pause }.to_not raise_error end end describe "#drops" do it "should always return zero" do subject.drops.should be_zero end end describe "#format" do it "should be settable and gettable" do subject.format.should be_nil subject.format = format subject.format.should eq format end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hallon-openal-1.0.1 | spec/hallon_openal_spec.rb |
hallon-openal-1.0.0 | spec/hallon_openal_spec.rb |
hallon-openal-0.0.3 | spec/hallon_openal_spec.rb |