Sha256: 2f458f806ec7424b4a3256b79c7949e272b0c080ab8bc4ca83852c1c1c4617d3

Contents?: true

Size: 809 Bytes

Versions: 5

Compression:

Stored size: 809 Bytes

Contents

# encoding: utf-8
require 'acceptance_helper'

context 'On the page /no_records when there is no records to show' do
  describe 'with the grid helper :blank_slate WiceGrid', type: :request, js: true do
    before :each do
      visit '/no_records'
    end

    it 'allows to show the message "No Records" in a block for example 1' do
      within '.example1' do
        expect(page).to have_content('No records found')
      end
    end

    it 'allows to show the message "No Records" in a block for example 2' do
      within '.example2' do
        expect(page).to have_content('No records found')
      end
    end

    it 'allows to show the message "No Records" in a block for example 3' do
      within '.example3' do
        expect(page).to have_content('No records found')
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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