1. It sounds great to DRY it up but what should the namespace be for the common components? Also it's not an exact duplicate of assert_select obviously as we aren't selecting from the response and it requires a target HTML parameter.

So any thoughts on where to extract out common code would be appreciated.

2. The reason for the namespace change is that this TestCase is almost entirely for testing the output of helpers. This is supported by the fact that it automatically includes the methods for the helper named as same as the test name.