debian-mirror-gitlab/spec/features/help_pages_spec.rb
2016-09-13 17:45:13 +05:30

13 lines
346 B
Ruby

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