can you add this to check if you were taken to the correct project page after clicking on the img?

current_url.should eq project_url(project)