Sha256: 825169c6d988fff8d5604d350fbdb2a8ac705241104a5d7122c0667e39af50cd

Contents?: true

Size: 551 Bytes

Versions: 5

Compression:

Stored size: 551 Bytes

Contents

# encoding: utf-8
require 'acceptance_helper'

describe 'On the page /all_records WiceGrid', type: :request, js: true do
  before :each do
    visit '/all_records'
  end

  it 'does not allow to show all records' do
    within 'div.wice-grid-container table.wice-grid tbody' do
      expect(page).to have_no_content('show all')
    end
  end

  it 'shows the the range of the records on the current page together with the total number of records' do
    within '.pagination_status' do
      expect(page).to have_content('1-20 / 50')
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wice_grid-7.1.4 spec/features/all_records_request_spec.rb
wice_grid-7.1.3 spec/features/all_records_request_spec.rb
wice_grid-7.1.2 spec/features/all_records_request_spec.rb
wice_grid-7.1.1 spec/features/all_records_request_spec.rb
wice_grid-7.1.0 spec/features/all_records_request_spec.rb