gitlab-org--gitlab-foss/spec/features/help_pages_spec.rb

14 lines
348 B
Ruby
Raw Normal View History

require 'spec_helper'
describe 'Help Pages', feature: true do
describe 'Show SSH page' do
before do
login_as :user
end
it 'replace the variable $your_email with the email of the user' do
2015-04-15 16:45:31 +00:00
visit help_page_path('ssh', 'README')
expect(page).to have_content("ssh-keygen -t rsa -C \"#{@user.email}\"")
end
end
end