Skip to content

Commit

Permalink
Add a failing spec to demonstrate that Speak concatenation doesn't wo…
Browse files Browse the repository at this point in the history
…rk with string content
  • Loading branch information
benlangfeld committed Aug 30, 2011
1 parent 5bee12f commit 46bae97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/ruby_speech/ssml/speak_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,12 @@ module SSML
speak1 = Speak.new
speak1 << Voice.new(:name => 'frank', :content => "Hi, I'm Frank")
speak2 = Speak.new
speak2 << "Hello there"
speak2 << Voice.new(:name => 'millie', :content => "Hi, I'm Millie")

expected_concat = Speak.new
expected_concat << Voice.new(:name => 'frank', :content => "Hi, I'm Frank")
expected_concat << "Hello there"
expected_concat << Voice.new(:name => 'millie', :content => "Hi, I'm Millie")

concat = (speak1 + speak2)
Expand Down

0 comments on commit 46bae97

Please sign in to comment.