Fix feature specs for doc pages
This commit is contained in:
parent
b1f12711bf
commit
e5f307cbbc
@ -32,11 +32,11 @@ feature "Docs" do
|
||||
expect_doc_links
|
||||
end
|
||||
|
||||
scenario 'Visiting options page' do
|
||||
visit docs_path(:options)
|
||||
scenario 'Visiting usage page' do
|
||||
visit docs_path(:usage)
|
||||
|
||||
within('.main') do
|
||||
expect(page).to have_content('Recorder options')
|
||||
expect(page).to have_content('Usage')
|
||||
end
|
||||
|
||||
expect_doc_links
|
||||
|
@ -10,7 +10,7 @@ module Asciinema
|
||||
expect(page).to have_link('How it works')
|
||||
expect(page).to have_link('Getting started')
|
||||
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('FAQ')
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user