Guest User

Untitled

a guest
May 17th, 2012
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. test 'creating just one translation when fallbacks set' do
  2. I18n.fallbacks.map :'de-DE' => [ :'en-US' ]
  3. task = Task.create :name => 'foo'
  4.  
  5. assert_equal 1, task.translations.length
  6. end
Advertisement
Add Comment
Please, Sign In to add comment