Created
March 30, 2014 12:04
-
-
Save costa/9871855 to your computer and use it in GitHub Desktop.
Re-using mail_view's "actions" for basic Rails view specs. -> ./specs/views/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| describe MailPreview do | |
| MailPreview.new.public_methods(false).each do |e| | |
| example "##{e}" do | |
| subject.send(e).should_not be_blank | |
| end | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment