Sha256: f7e9d9f72d11ca77f53d82df22356770917fddefd0e36201d88515835c5400f4
Contents?: true
Size: 575 Bytes
Versions: 2
Compression:
Stored size: 575 Bytes
Contents
Factory.define :i18n_example, :class => GlobalizeTranslation do |u| u.locale 'en' u.key 'example' u.value 'This is an example' end Factory.define :i18n_nested_example, :class => GlobalizeTranslation do |u| u.locale 'en' u.key 'nested.example' u.value 'This is a nested example' end Factory.define :i18n_title, :class => GlobalizeTranslation do |u| u.locale 'en' u.key 'title' u.value 'This is a title' end Factory.define :i18n_title_pl, :class => GlobalizeTranslation do |u| u.locale 'pl' u.key 'title' u.value 'To jest tytuł' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
exvo_globalize-0.1.0 | spec/factories.rb |
exvo_globalize-0.0.2 | spec/factories.rb |