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

Version Path
ab_admin-0.3.6 features/step_definitions/web_steps/i18n_steps.rb
ab_admin-0.3.5 features/step_definitions/web_steps/i18n_steps.rb
ab_admin-0.3.4 features/step_definitions/web_steps/i18n_steps.rb
ab_admin-0.3.3 features/step_definitions/web_steps/i18n_steps.rb
ab_admin-0.3.2 features/step_definitions/web_steps/i18n_steps.rb
ab_admin-0.3.1 features/step_definitions/web_steps/i18n_steps.rb
ab_admin-0.3.0 features/step_definitions/web_steps/i18n_steps.rb
ab_admin-0.2.3 features/step_definitions/web_steps/i18n_steps.rb
ab_admin-0.2.2 features/step_definitions/web_steps/i18n_steps.rb
ab_admin-0.2.1 features/step_definitions/web_steps/i18n_steps.rb
ab_admin-0.2.0 features/step_definitions/web_steps/i18n_steps.rb
ab_admin-0.1.2 features/step_definitions/web_steps/i18n_steps.rb
ab_admin-0.1.1 features/step_definitions/web_steps/i18n_steps.rb
ab_admin-0.1.0 features/step_definitions/web_steps/i18n_steps.rb