debian-mirror-gitlab/spec/features/projects/show/user_sees_readme_spec.rb
2018-10-15 14:42:47 +05:30

16 lines
358 B
Ruby

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