about summary refs log tree commit homepage
path: root/test/test_source_av.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_source_av.rb')
-rw-r--r--test/test_source_av.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_source_av.rb b/test/test_source_av.rb
index 3106fe9..6047de7 100644
--- a/test/test_source_av.rb
+++ b/test/test_source_av.rb
@@ -35,7 +35,7 @@ class TestSourceAv < Testcase
     x(%W(metaflac --add-replay-gain #{tmp.path}))
     source = DTAS::Source::Av.new.try(tmp.path)
     assert_equal source.comments["FOO"], "BAR", source.inspect
-    rg = source.replaygain
+    rg = source.replaygain('track_gain')
     assert_kind_of DTAS::ReplayGain, rg
     assert_in_delta 0.0, rg.track_peak.to_f, 0.00000001
     assert_in_delta 0.0, rg.album_peak.to_f, 0.00000001
@@ -61,7 +61,7 @@ class TestSourceAv < Testcase
     end
 
     source = DTAS::Source::Av.new.try(a.path)
-    rg = source.replaygain
+    rg = source.replaygain('track_gain')
     assert_kind_of DTAS::ReplayGain, rg
     assert_in_delta 0.0, rg.track_peak.to_f, 0.00000001
     assert_in_delta 0.0, rg.album_peak.to_f, 0.00000001