Welcome to mirror list, hosted at ThFree Co, Russian Federation.

help_pages_spec.rb « features « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 41088ce8271922233d38e1fcf24e49081e8aa8a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
      visit help_page_path(category: 'ssh', file: 'README.md')
      expect(page).to have_content("ssh-keygen -t rsa -C \"#{@user.email}\"")
    end
  end
end