If you want to do something like
Then the output should contain "\"bob saget\",1234123412"
This is the step definition you would probably write
Then /^the output should contain "(.*)$" do |text| Output.string.should be_include(text) end
Which would mess up cucumber’s step definition regexp. Another way to do it is using slashes
Then /^the output should contain \/(.*)\/$/ do |text| Output.string.should be_include(text) end
And this will work
Then the output should contain /"bob saget",1234123412/