Fix feature specs for doc pages

private-asciicasts
Marcin Kulik 10 years ago
parent b1f12711bf
commit e5f307cbbc

@ -32,11 +32,11 @@ feature "Docs" do
expect_doc_links expect_doc_links
end end
scenario 'Visiting options page' do scenario 'Visiting usage page' do
visit docs_path(:options) visit docs_path(:usage)
within('.main') do within('.main') do
expect(page).to have_content('Recorder options') expect(page).to have_content('Usage')
end end
expect_doc_links expect_doc_links

@ -10,7 +10,7 @@ module Asciinema
expect(page).to have_link('How it works') expect(page).to have_link('How it works')
expect(page).to have_link('Getting started') expect(page).to have_link('Getting started')
expect(page).to have_link('Installation') expect(page).to have_link('Installation')
expect(page).to have_link('Recorder options') expect(page).to have_link('Usage')
expect(page).to have_link('Embedding') expect(page).to have_link('Embedding')
expect(page).to have_link('FAQ') expect(page).to have_link('FAQ')
end end

Loading…
Cancel
Save