Sha256: 3750cd431ba7d8b7430a448f639464f9a3500e26a50ffd6ad8b34102bdb3c7b2
Contents?: true
Size: 510 Bytes
Versions: 1
Compression:
Stored size: 510 Bytes
Contents
require 'spec_helper' feature "In order to translate resource As system user I want to switch from original resource to translations" do scenario "As user in resource create form I see language switch and current language is active and I can switch to other languages" do visit "/lolita/posts/new" language_selector_text = page.find(".tab-language-switch").text ::I18n.available_locales.each do |locale| language_selector_text.should match(/#{locale.to_s.capitalize}/) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lolita-translation-0.8.4 | spec/features/record_language_switch_spec.rb |