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.
38 lines
698 B
Ruby
38 lines
698 B
Ruby
require 'rails_helper'
|
|
|
|
feature "Static pages" do
|
|
|
|
scenario 'Visiting "about" page' do
|
|
visit about_path
|
|
|
|
within('.main') do
|
|
expect(page).to have_content(/About Asciinema/i)
|
|
end
|
|
end
|
|
|
|
scenario 'Visiting "terms of service" page' do
|
|
visit tos_path
|
|
|
|
within('.main') do
|
|
expect(page).to have_content(/Terms of Service/i)
|
|
end
|
|
end
|
|
|
|
scenario 'Visiting "privacy policy" page' do
|
|
visit privacy_path
|
|
|
|
within('.main') do
|
|
expect(page).to have_content(/Privacy Policy/i)
|
|
end
|
|
end
|
|
|
|
scenario 'Visiting "contributing" page' do
|
|
visit contributing_path
|
|
|
|
within('.main') do
|
|
expect(page).to have_content(/Contributing/i)
|
|
end
|
|
end
|
|
|
|
end
|