73e848850c
Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
18 lines
389 B
Ruby
18 lines
389 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'spec_helper'
|
|
|
|
describe 'Projects > Show > User sees README' do
|
|
set(:user) { create(:user) }
|
|
|
|
set(: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
|