Skip to content

Instantly share code, notes, and snippets.

@phansch
Created January 28, 2014 13:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phansch/8667828 to your computer and use it in GitHub Desktop.
Save phansch/8667828 to your computer and use it in GitHub Desktop.
text_styles = %w(code del em ins sub sup strong)
text_styles.each do |m|
para = app.app.para(app.app.send(m, m, stroke: '#ccc'))
expect(para.text).to eq(m)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment