Skip to content

Commit

Permalink
update tests to use test/sample for path testing
Browse files Browse the repository at this point in the history
  • Loading branch information
taf2 committed Mar 25, 2011
1 parent b67df8a commit 0515086
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/audio_splitter_test.rb
Expand Up @@ -6,7 +6,7 @@
class SpeechAudioSplitterTest < Test::Unit::TestCase

def test_audio_splitter
splitter = Speech::AudioSplitter.new("i-like-pickles.wav", 1)
splitter = Speech::AudioSplitter.new("samples/i-like-pickles.wav", 1)

assert_equal '00:00:03:52', splitter.duration.to_s
assert_equal 3.52, splitter.duration.to_f
Expand Down
2 changes: 1 addition & 1 deletion test/audio_to_text_test.rb
Expand Up @@ -5,7 +5,7 @@

class SpeechAudioToTextTest < Test::Unit::TestCase
def test_audio_to_text
audio = Speech::AudioToText.new("i-like-pickles.wav")
audio = Speech::AudioToText.new("samples/i-like-pickles.wav")
captured_json = audio.to_text
assert captured_json
assert captured_json.key?("captured_json")
Expand Down
Binary file removed test/i-like-pickles.wav
Binary file not shown.

0 comments on commit 0515086

Please sign in to comment.