Sha256: cf3a897764fca8e8f34120b2122e26c0f00d8ba7631d14b47b5867d4887da644
Contents?: true
Size: 627 Bytes
Versions: 23
Compression:
Stored size: 627 Bytes
Contents
require File.dirname(__FILE__) + "/../spec_helper" describe TranslationSupport do describe 'self.get_translation_keys' do before do @language_root = RADIANT_ROOT + '/test/fixtures/extensions/locale/config/locales' end it "should return the word set for the given language root" do TranslationSupport.get_translation_keys(@language_root).should == {"base:test"=>" 'yes!'"} end it "should return the word set for the given language root and suffix" do suffix = '-uk' TranslationSupport.get_translation_keys(@language_root, suffix).should == {"base:test"=>" 'UK!'"} end end end
Version data entries
23 entries across 23 versions & 3 rubygems