debian-mirror-gitlab/spec/features/projects/show/user_sees_readme_spec.rb

18 lines
400 B
Ruby
Raw Normal View History

2019-10-12 21:52:04 +05:30
# frozen_string_literal: true
2018-10-15 14:42:47 +05:30
require 'spec_helper'
describe 'Projects > Show > User sees README' do
2020-04-08 14:13:33 +05:30
let_it_be(:user) { create(:user) }
let_it_be(:project) { create(:project, :repository, :public) }
2018-10-15 14:42:47 +05:30
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