BigW Consortium Gitlab

help_pages_spec.rb 346 Bytes
Newer Older
1 2
require 'spec_helper'

3 4
describe 'Help Pages', feature: true do
  describe 'Show SSH page' do
5 6 7
    before do
      login_as :user
    end
8
    it 'replaces the variable $your_email with the email of the user' do
9
      visit help_page_path('ssh/README')
10
      expect(page).to have_content("ssh-keygen -t rsa -C \"#{@user.email}\"")
11 12 13
    end
  end
end