Sha256: 8d9735f4e68264e534cff2d1a06377e9279e1a15da365826e55451d1c0e28130

Contents?: true

Size: 550 Bytes

Versions: 5

Compression:

Stored size: 550 Bytes

Contents

# encoding: UTF-8
require 'acceptance_helper'

describe 'On the page /localization with the proper use of I18n WiceGrid', type: :request, js: true do
  before :each do
    visit '/localization'
  end

  it 'allows to switch to different languages' do
    click_on('en')
    expect(page).to have_content('show all')

    click_on('nl')
    expect(page).to have_content('Alle rijen tonen')

    click_on('fr')
    expect(page).to have_content('Voir tous')

    click_on('is')
    expect(page).to have_content('Sýna all')

    click_on('en')
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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