Sha256: 5134e37d589efb2c6c50b7ecb50e9140ad989a3a20265c56395015990f553c07

Contents?: true

Size: 343 Bytes

Versions: 8

Compression:

Stored size: 343 Bytes

Contents

require "spec_helper"

describe I18n::Js do
  context "general" do
    it "sets empty hash as configuration when no file is found" do
      I18n::Js.stub(:config_path => "/path/to/config/config.yml")
      I18n::Js.config?.should be_false
      I18n::Js.config.should eql({"asset_path" => "i18n/translation", "only" => "*"})
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
socialcast-i18n-js-4.0.0.rc8 spec/i18n_js_spec.rb
socialcast-i18n-js-4.0.0.rc7 spec/i18n_js_spec.rb
socialcast-i18n-js-4.0.0.rc6 spec/i18n_js_spec.rb
socialcast-i18n-js-4.0.0.rc5 spec/i18n_js_spec.rb
socialcast-i18n-js-4.0.0.rc4 spec/i18n_js_spec.rb
socialcast-i18n-js-4.0.0.rc3 spec/i18n_js_spec.rb
socialcast-i18n-js-4.0.0.rc2 spec/i18n_js_spec.rb
socialcast-i18n-js-4.0.0.rc1 spec/i18n_js_spec.rb