Instiki 0.17.2: Security Release
This release upgrades Instiki to Rails 2.3.4, which patches two security holes in Rails. See http://weblog.rubyonrails.org/2009/9/4/ruby-on-rails-2-3-4 There are also some new features, and the usual boatload of bugfixes. See the CHANGELOG for details.
This commit is contained in:
parent
34c4306867
commit
4bdf703ab2
211 changed files with 3959 additions and 1325 deletions
|
@ -155,6 +155,14 @@ class TestPluginLoader < Test::Unit::TestCase
|
|||
plugin_load_paths.each { |path| assert $LOAD_PATH.include?(path) }
|
||||
end
|
||||
|
||||
def test_should_add_locale_files_to_I18n_load_path
|
||||
only_load_the_following_plugins! [:engine]
|
||||
|
||||
@loader.send :add_engine_locales
|
||||
|
||||
assert I18n.load_path.include?(File.join(plugin_fixture_path('engines/engine'), 'config', 'locales', 'en.yml'))
|
||||
end
|
||||
|
||||
|
||||
private
|
||||
def reset_load_path!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue