Sha256: 670ec06e647cd653e1eefff477887fa67c94649d41691a0f52d7ae282975430f
Contents?: true
Size: 798 Bytes
Versions: 1
Compression:
Stored size: 798 Bytes
Contents
require 'test_helper' class I18nFormHelperTest < ActionDispatch::IntegrationTest test "language select on index" do visit languages_path page.assert_selector('h1', text: 'Languages#index') page.assert_selector('div#language_name_select') page.assert_selector('div#language_native_select') page.assert_selector('div#language_code_select') page.assert_selector('div#country_name_select') page.assert_selector('div#country_code_select') select('English', :from => 'language[language_name_select]') select('English', :from => 'language[language_native_select]') select('EN', :from => 'language[language_code_select]') select('Australia', :from => 'language[country_name_select]') select('AU', :from => 'language[country_code_select]') end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
i18n_form_helper-0.0.1 | test/i18n_form_helper_test.rb |