Sha256: a165f7eb3e6508fd386558baa56053ce09b882b3bf62b706d333ce32d1649716
Contents?: true
Size: 547 Bytes
Versions: 5
Compression:
Stored size: 547 Bytes
Contents
require 'spec_helper' if USE_RAILS describe "In order to translate resource As system user I want to switch from original resource to translations" do it "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 end
Version data entries
5 entries across 5 versions & 1 rubygems