spec/amixer_spec.rb in knjrbfw-0.0.28 vs spec/amixer_spec.rb in knjrbfw-0.0.29
- old
+ new
@@ -1,11 +1,10 @@
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
describe "Amixer" do
it "should load by using autoload" do
require "knjrbfw"
- require "knj/autoload"
$amixer = Knj::Amixer.new
end
it "should register various devices" do
@@ -18,9 +17,10 @@
if device.active?(:stream => "PLAYBACK")
mixers.each do |name, mixer|
next if !mixer.volume?
mixer.vol_add -5
+ mixer.vol_add 3
end
end
end
end
end
\ No newline at end of file