Fix feature specs for doc pages

This commit is contained in:
Marcin Kulik 2014-12-17 15:25:13 +00:00
parent b1f12711bf
commit e5f307cbbc
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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