view .svn/pristine/6a/6ae02e008b39a032972c4d067b7e08a8c9bd1a60.svn-base @ 1517:dffacf8a6908 redmine-2.5

Update to Redmine SVN revision 13367 on 2.5-stable branch
author Chris Cannam
date Tue, 09 Sep 2014 09:29:00 +0100
parents cbb26bc654de
children
line wrap: on
line source
require File.dirname(__FILE__) + '/../test_helper'

class PluginsTest < Test::Unit::TestCase
  
  def test_should_allow_access_to_plugins_by_strings_or_symbols
    p = Engines.plugins["alpha_plugin"]
    q = Engines.plugins[:alpha_plugin]
    assert_kind_of Engines::Plugin, p
    assert_equal p, q
  end
end