Sha256: 7a3be9265ee07f5956e9fba642376404995ccac60388a98d39917fe2b031c427

Contents?: true

Size: 870 Bytes

Versions: 5

Compression:

Stored size: 870 Bytes

Contents

# encoding: utf-8
require 'acceptance_helper'

describe 'On the page /custom_filter_params with helper :wice_grid_custom_filter_params WiceGrid', type: :request, js: true do
  before :each do
    visit '/custom_filter_params'
  end

  it 'renders a grid with the project custom filter activated to Ultimate Website' do
    click_on 'Ultimate Website'
    within '.pagination_status' do
      expect(page).to have_content('1-18 / 18')
    end
  end

  it 'renders a grid with the project custom filter activated to Super Game' do
    click_on 'Super Game'
    within '.pagination_status' do
      expect(page).to have_content('1-17 / 17')
    end
  end

  it 'renders a grid with the project custom filter activated to Divine Firmware' do
    click_on 'Divine Firmware'
    within '.pagination_status' do
      expect(page).to have_content('1-15 / 15')
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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