view .svn/pristine/6a/6ae02e008b39a032972c4d067b7e08a8c9bd1a60.svn-base @ 1539:22d57b0e0a77 live

OK, this script works now, but it should be using the API
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 21 May 2015 17:31: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