OK this was based off a couple of boneheaded things I did, and a genuine lack of understanding on some other things.
Boneheaded thing #1: I was generating a file other than the name I was looking for. Nice job, Jeremy.
Boneheaded thing #2: I had extra namespace elements in my config file; it's not NHibernate.Dialect.NHibernate.Dialect.SQLiteDialect
, it's just NHibernate.Dialect.SQLiteDialect
.
Genuine misunderstanding: I thought the ActiveRecordSectionHandler
was meant to be instantiated; turns out, I needed the static property of Instance
to work. So what it should have looked like is:
ActiveRecordStarter.Initialize(typeof(IPermissionsManager).Assembly, ActiveRecordSectionHandler.Instance);
Voila! the test passes.