Sha256: faed7ce94f4080bfca3c015bc5129e5dd202a8bc094e1e2b50ffd540d2fc2329
Contents?: true
Size: 815 Bytes
Versions: 19
Compression:
Stored size: 815 Bytes
Contents
# This module is the source for all data that simulates what the real app would return. # It's included in the specs and cucumber tests, so if our format changes we # should only have to change here module LocaleappIntegrationData def valid_project_data { 'name' => "Test Project", 'default_locale' => { 'name' => "English", 'code' => "en" } } end def valid_translation_data { 'translations' => { 'en' => { 'foo' => { 'monkey' => 'hello', 'night' => 'night' } }, 'es' => { 'foo' => { 'monkey' => 'hola', 'night' => 'noche' } }, }, 'deleted' => [ 'foo.delete_me', 'bar.delete_me_too', 'hah.imnotreallyhere' ], 'locales' => %w{en es} } end end
Version data entries
19 entries across 19 versions & 1 rubygems