Sha256: 776e8f3c7d66661e1fc56898a8153943a2d3ecb4e9fc6783a62188ba76789953
Contents?: true
Size: 367 Bytes
Versions: 2
Compression:
Stored size: 367 Bytes
Contents
require 'spec_helper' describe ExvoGlobalize do let(:i18n_example) { Factory(:i18n_example) } it "caches translations in memory" do old = I18n.translate(:example) new = 'New example' i18n_example.update_attributes(:value => new) i18n_example.reload i18n_example.value.should eq(new) I18n.translate(:example).should eq(old) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
exvo_globalize-0.1.0 | spec/integration/caching_spec.rb |
exvo_globalize-0.0.2 | spec/integration/caching_spec.rb |