diff --git a/spec/helpers/application_helper_spec.rb b/spec/helpers/application_helper_spec.rb index 8c1da3ff7..3682c2dfb 100644 --- a/spec/helpers/application_helper_spec.rb +++ b/spec/helpers/application_helper_spec.rb @@ -38,7 +38,7 @@ describe ApplicationHelper do person_image_link(@person).should include(image_or_default(@person)) end it "returns a link to the person's profile" do - person_image_link(@person).should include("href=\"#{person_path(@person)}\"") + person_image_link(@person).should include(person_path(@person)) end end