You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
589 B
Ruby
36 lines
589 B
Ruby
12 years ago
|
require 'spec_helper'
|
||
|
|
||
|
feature "Docs" do
|
||
|
|
||
|
scenario 'Visiting about page' do
|
||
|
visit docs_path(:about)
|
||
|
|
||
|
within('.main') do
|
||
|
expect(page).to have_content('About')
|
||
|
end
|
||
|
|
||
|
expect_doc_links
|
||
|
end
|
||
|
|
||
|
scenario 'Visiting getting started page' do
|
||
|
visit docs_path(:record)
|
||
|
|
||
|
within('.main') do
|
||
|
expect(page).to have_content('Getting started')
|
||
|
end
|
||
|
|
||
|
expect_doc_links
|
||
|
end
|
||
|
|
||
|
scenario 'Visiting options page' do
|
||
|
visit docs_path(:options)
|
||
|
|
||
|
within('.main') do
|
||
|
expect(page).to have_content('Recorder options')
|
||
|
end
|
||
|
|
||
|
expect_doc_links
|
||
|
end
|
||
|
|
||
|
end
|