Are these strings set by the helper methods that we talked about earlier? If so, there's a danger that you're implicitly testing the return value of the helper method here (if you change the URL pattern that's returned, these tests will fail, but not for the reason that you're planning). Of course in this case that's not likely to happen, but it's generally better practice to mock out any helper methods that may be called, and then test that the strings returned are the ones that the test has set inside the mock.