spec/talks.rb in talks-0.0.3 vs spec/talks.rb in talks-0.0.4
- old
+ new
@@ -1,12 +1,25 @@
require File.expand_path('../../lib/talks.rb', __FILE__)
Talks.voices.each do |v|
p v
- Talks.say 'Tests start', nil, voice: v
+ Talks.say 'Tests start', voice: v
end
+p 'say `say`'
Talks.say 'say'
+p 'info `say again`'
Talks.info 'say again'
+p 'warn `I warn you`'
Talks.warn 'I warn you'
+p 'error `This is how error sounds`'
Talks.error 'This is how error sounds'
+p 'success `This is success!`'
Talks.success 'This is success!'
+p 'info `default`'
+Talks.info
+p 'warn `default`'
+Talks.warn
+p 'warn `error`'
+Talks.error
+p 'warn `success`'
+Talks.success