asciinema.org/spec/support/feature_helpers.rb
2015-10-14 13:01:37 +02:00

20 lines
488 B
Ruby

module Asciinema
module FeatureHelpers
def expect_browse_links
expect(page).to have_link('All')
expect(page).to have_link('Featured')
end
def expect_doc_links
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('Usage')
expect(page).to have_link('Sharing & embedding')
expect(page).to have_link('FAQ')
end
end
end