diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-05-24 23:18:18 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-05-24 23:18:18 +0300 |
commit | e512ea96ae6f562d90e32707e1789e92b75cf580 (patch) | |
tree | 69f45c5dc4b24a46f5b10537a57cb2a371d28d30 /spec/features/admin/admin_abuse_reports_spec.rb | |
parent | 33b787ee81598836cab88aae01cc293716e28393 (diff) |
Replace data-test=page with .js-pagination-page
Diffstat (limited to 'spec/features/admin/admin_abuse_reports_spec.rb')
-rw-r--r-- | spec/features/admin/admin_abuse_reports_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/admin/admin_abuse_reports_spec.rb b/spec/features/admin/admin_abuse_reports_spec.rb index 657d556cb30..d93561fee14 100644 --- a/spec/features/admin/admin_abuse_reports_spec.rb +++ b/spec/features/admin/admin_abuse_reports_spec.rb @@ -45,7 +45,7 @@ describe "Admin::AbuseReports", :js do visit admin_abuse_reports_path expect(page).to have_selector('.pagination') - expect(page).to have_selector('.pagination [data-test=page]', count: (report_count.to_f / AbuseReport.default_per_page).ceil) + expect(page).to have_selector('.pagination.js-pagination-page', count: (report_count.to_f / AbuseReport.default_per_page).ceil) end end end |