Thanks, Justin. How can we tell if a test should be a view test or a feature test? The test I wrote needs to update user's account to show the url link, so I thought it's more like other feature tests in person_profile_spec.rb file, such as 'show gravatar image if profile image not uploaded'.


On Jan 4, 2014, at 12:01 AM, Justin Coyne wrote:


In spec/features/person_profile_spec.rb:

> @@ -75,14 +76,36 @@
>        click_link "My Profile"
>        page.should have_css("img[class$='gravatar']")
>      end
> +
> +    it 'should render personal webpage and blog URLs as a-tags' do


This should probably be a view test, not a feature test.

—
Reply to this email directly or view it on GitHub<https://github.com/projecthydra/curate/pull/405/files#r8650883>.