Sha256: b0faa8e6a6fc90d29f2ec84e272acf69e18144af8b0de40136d9ec083dbe4f04
Contents?: true
Size: 504 Bytes
Versions: 15
Compression:
Stored size: 504 Bytes
Contents
require "spec_helper" describe I18n::Backend::Weeler::Dedupe do describe "#dedupe" do context "empty db" do before(:each) do 3.times { I18n::Backend::Weeler::Translation.create(locale: :en, key: "weeler.dublicate") } I18n::Backend::Weeler::Translation.dedupe end it "translation stores all translation in each locale" do expect(I18n::Backend::Weeler::Translation.locale(:en).where(key: "weeler.dublicate").size).to eq(1) end end end end
Version data entries
15 entries across 15 versions & 1 rubygems