spec/spec_helper.rb in i18n-js-3.0.5 vs spec/spec_helper.rb in i18n-js-3.0.6
- old
+ new
@@ -6,10 +6,10 @@
module Helpers
# Set the configuration as the current one
def set_config(path)
config_file_path = File.dirname(__FILE__) + "/fixtures/#{path}"
allow(I18n::JS).to receive_messages(
- :config? => true,
+ :config_file_exists? => true,
:config_file_path => config_file_path,
)
end
# Shortcut to I18n::JS.translations