How to test text changes in an app?

What is the proper procedure for testing text changes made to a website?

I need to know what are the best type of tests for checking text changes in various locations of a website.

Currently, I am manually checking each page of the website. I know there must be a better way.


What do you mean by text changes? Are you testing static copy on your pages? If so - don’t. If it’s dynamic text, something like Welcome, <%= %>, then this is best done leveraging i18n both in the view and in your specs. I have a blog post coming next next week on just that topic.

Actually this is a static text change that is in several html.erb files. This is a phrase that was used on several view files.

I look forward to checking out your blog and learning about i18n.

@kimkhan, here’s the post: