2015-01-15 20:06:32 -05:00
|
|
|
require 'spec_helper'
|
|
|
|
|
2015-01-18 11:21:18 -05:00
|
|
|
describe 'Help Pages', feature: true do
|
|
|
|
describe 'Show SSH page' do
|
2015-01-15 20:06:32 -05:00
|
|
|
before do
|
|
|
|
login_as :user
|
|
|
|
end
|
2015-01-18 11:21:18 -05:00
|
|
|
it 'replace the variable $your_email with the email of the user' do
|
2016-05-16 18:06:26 -04:00
|
|
|
visit help_page_path('ssh/README')
|
2015-02-12 13:17:35 -05:00
|
|
|
expect(page).to have_content("ssh-keygen -t rsa -C \"#{@user.email}\"")
|
2015-01-15 20:06:32 -05:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|