annotate .svn/pristine/6a/6ae02e008b39a032972c4d067b7e08a8c9bd1a60.svn-base @ 929:5f33065ddc4b redmine-1.3

Update to Redmine SVN rev 9414 on 1.3-stable branch
author Chris Cannam
date Wed, 27 Jun 2012 14:54:18 +0100
parents cbb26bc654de
children
rev   line source
Chris@909 1 require File.dirname(__FILE__) + '/../test_helper'
Chris@909 2
Chris@909 3 class PluginsTest < Test::Unit::TestCase
Chris@909 4
Chris@909 5 def test_should_allow_access_to_plugins_by_strings_or_symbols
Chris@909 6 p = Engines.plugins["alpha_plugin"]
Chris@909 7 q = Engines.plugins[:alpha_plugin]
Chris@909 8 assert_kind_of Engines::Plugin, p
Chris@909 9 assert_equal p, q
Chris@909 10 end
Chris@909 11 end