debian-mirror-gitlab/spec/features/help_pages_spec.rb

14 lines
346 B
Ruby
Raw Normal View History

2015-04-26 12:48:37 +05:30
require 'spec_helper'
describe 'Help Pages', feature: true do
describe 'Show SSH page' do
before do
login_as :user
end
2016-09-13 17:45:13 +05:30
it 'replaces the variable $your_email with the email of the user' do
2016-08-24 12:49:21 +05:30
visit help_page_path('ssh/README')
2015-04-26 12:48:37 +05:30
expect(page).to have_content("ssh-keygen -t rsa -C \"#{@user.email}\"")
end
end
end