asciinema.org/spec/features/docs_spec.rb

36 lines
589 B
Ruby
Raw Normal View History

2013-05-27 20:03:16 +00:00
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