Sha256: b49702146e7de77cbbd2b9ed65226cd8bcf11b60d240ecb2d774e9d815331d6a
Contents?: true
Size: 272 Bytes
Versions: 14
Compression:
Stored size: 272 Bytes
Contents
Given /^i18n key "(.*?)" with value "(.*?)"$/ do |keys, value| data = {}.store_multi(value, *keys.split('.')) I18n.backend.store_translations(I18n.locale, data) end When /^i18n key "(.*?)" should have "(.*?)" value$/ do |key, value| I18n.t(key).should == value end
Version data entries
14 entries across 14 versions & 1 rubygems