debian-mirror-gitlab/spec/features/projects/show/user_sees_readme_spec.rb
2020-06-23 00:09:42 +05:30

17 lines
406 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
RSpec.describe 'Projects > Show > User sees README' do
let_it_be(:user) { create(:user) }
let_it_be(:project) { create(:project, :repository, :public) }
it 'shows the project README', :js do
visit project_path(project)
wait_for_requests
page.within('.readme-holder') do
expect(page).to have_content 'testme'
end
end
end