view .svn/pristine/6a/6ae02e008b39a032972c4d067b7e08a8c9bd1a60.svn-base @ 1296:038ba2d95de8 redmine-2.2

Fix redmine-2.2 branch update (add missing svn files)
author Chris Cannam
date Fri, 14 Jun 2013 09:05:06 +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