And the user "212-555-1234" should receive a text with:
| Some "double quoted" and 'single quoted' text |
Definitely possible in cucumber, but I prefer a string equality assertion: text.should == "..." (you have to do this anyway in the step_definition)
c) Ben Maeby's email_spec is awesome and provides some steps for clicking on links in email. I still use the library in steak (just the raw rspec matchers though). http://coolsite.org/something/abcde22424aw3324234
The matcher provided says: And I visit the account confirmation link
Again, a matter of preference for abstracting the step with one-time use, highly coupled text to code vs. a comment and the code together. The actual mechanics are the same in both systems, it's just that cucumber hides them in a one-time use step away from the actual feature whereas the steak is inline.
https://github.com/cmdrkeene/bitmap-counter