Sha256: b976f302f49f3ad0350a9e42a173f9c9c4c508e8faf2c73703d638901dffa277

Contents?: true

Size: 290 Bytes

Versions: 17

Compression:

Stored size: 290 Bytes

Contents

require "spec_helper"

module Refinery
  describe TranslationHelper do

    describe "#t" do
      it "overrides Rails' translation method" do
        helper.t("ugisozols").should eq("i18n: Ugisozols")
        helper.t("ugisozols.test").should eq("i18n: Test")
      end
    end

  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
refinerycms-core-2.1.5 spec/helpers/refinery/translation_helper_spec.rb
refinerycms-core-2.1.4 spec/helpers/refinery/translation_helper_spec.rb
refinerycms-core-2.1.3 spec/helpers/refinery/translation_helper_spec.rb
refinerycms-core-2.1.2 spec/helpers/refinery/translation_helper_spec.rb
refinerycms-core-2.1.1 spec/helpers/refinery/translation_helper_spec.rb
refinerycms-core-2.1.0 spec/helpers/refinery/translation_helper_spec.rb
refinerycms-core-2.0.10 spec/helpers/refinery/translation_helper_spec.rb
refinerycms-core-2.0.9 spec/helpers/refinery/translation_helper_spec.rb
refinerycms-core-2.0.8 spec/helpers/refinery/translation_helper_spec.rb
refinerycms-core-2.0.7 spec/helpers/refinery/translation_helper_spec.rb
refinerycms-core-2.0.6 spec/helpers/refinery/translation_helper_spec.rb
refinerycms-core-2.0.5 spec/helpers/refinery/translation_helper_spec.rb
refinerycms-core-2.0.4 spec/helpers/refinery/translation_helper_spec.rb
refinerycms-core-2.0.3 spec/helpers/refinery/translation_helper_spec.rb
refinerycms-core-2.0.2 spec/helpers/refinery/translation_helper_spec.rb
refinerycms-core-2.0.1 spec/helpers/refinery/translation_helper_spec.rb
refinerycms-core-2.0.0 spec/helpers/refinery/translation_helper_spec.rb