Sha256: ecdb1ce29ae2a3204294380481f0f89e4d1247e5c9ccc44f17878224cb710293

Contents?: true

Size: 450 Bytes

Versions: 4

Compression:

Stored size: 450 Bytes

Contents

require 'test_helper'

class I18nTest < ActiveSupport::IntegrationCase

  test 'renders in spanish' do
    step = :uno
    visit(i18n_path(step, :locale => :es))
    assert has_content?('uno')
    assert has_link?('hello', :href => i18n_path(:dos))
  end

  test 'renders in english' do
    step = :first
    visit(i18n_path(step, :locale => :en))
    assert has_content?('first')
    assert has_link?('hello', :href => i18n_path(:second))
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wicked-0.4.0 test/integration/i18n_test.rb
wicked-0.3.4 test/integration/i18n_test.rb
wicked-0.3.3 test/integration/i18n_test.rb
wicked-0.3.2 test/integration/i18n_test.rb