gitlab-org--gitlab-foss/features/steps/admin/abuse_reports.rb
Dmitriy Zaporozhets 485b9efe9f
Remove trailing lines
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-08-06 17:27:48 +02:00

15 lines
407 B
Ruby

class Spinach::Features::AdminAbuseReports < Spinach::FeatureSteps
include SharedAuthentication
include SharedPaths
include SharedAdmin
step 'I should see list of abuse reports' do
page.should have_content("Abuse Reports")
page.should have_content AbuseReport.first.message
page.should have_link("Remove user")
end
step 'abuse reports exist' do
create(:abuse_report)
end
end