We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d64aacc commit 7c5c5f7Copy full SHA for 7c5c5f7
spec/features/podcasts_spec.rb
@@ -15,9 +15,10 @@
15
allow(Podcast).to receive(:find_by).with(id: @podcast.id.to_s) { @podcast }
16
17
visit "/podcasts/#{@podcast.id}"
18
- target = '« Top'
19
expect(page).to have_http_status(:success)
20
- expect(page).to have_link target, href: '/podcasts'
+
+ target = 'Top'
21
+ expect(page).to have_link target, href: podcasts_path
22
click_link target, match: :first
23
24
end
0 commit comments