test/test_plugin.rb in nfagent-0.9.29 vs test/test_plugin.rb in nfagent-0.9.30

- old
+ new

@@ -4,10 +4,10 @@ class TestPlugin < ActiveSupport::TestCase setup do end test "load" do - assert_raise(NameError) { "MissingMapper".constantize } + assert_raise(NameError) { Object.const_get("MissingMapper") } NFAgent::Plugin.load_plugins - "MyMapper".constantize + Object.const_get("MyMapper") end end